Imported from ../bash-2.01.tar.gz.
[platform/upstream/bash.git] / builtins / shift.def
index 8af4d5d..293c31b 100644 (file)
@@ -53,7 +53,7 @@ shift_builtin (list)
   register int count;
   WORD_LIST *temp;
 
-  times = get_numeric_arg (list);
+  times = get_numeric_arg (list, 0);
 
   if (times == 0)
     return (EXECUTION_SUCCESS);