commit bash-20110812 snapshot

This commit is contained in:
Chet Ramey
2012-01-09 08:25:20 -05:00
parent 02c7ca1d06
commit f308cbc4f2
6 changed files with 87 additions and 61 deletions
+1 -1
View File
@@ -500,7 +500,7 @@ get_exitstat (list)
if (arg == 0 || legal_number (arg, &sval) == 0)
{
sh_neednumarg (list->word->word ? list->word->word : "`'");
return 255;
return EX_BADUSAGE;
}
no_args (list->next);
+2
View File
@@ -60,9 +60,11 @@ int
return_builtin (list)
WORD_LIST *list;
{
#if 0
if (no_options (list))
return (EX_USAGE);
list = loptend; /* skip over possible `--' */
#endif
return_catch_value = get_exitstat (list);