mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-12-02 12:07:46 +01:00
commit bash-20110812 snapshot
This commit is contained in:
1 parent
02c7ca1d06
commit
f308cbc4f2
6 files changed
+87
-61
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user