diff options
Diffstat (limited to 'builtins/common.c')
-rw-r--r-- | builtins/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtins/common.c b/builtins/common.c index 737ace2f..fb2b38cd 100644 --- a/builtins/common.c +++ b/builtins/common.c @@ -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); @@ -628,7 +628,7 @@ get_job_by_name (name, flags) if (this_shell_builtin) builtin_error (_("%s: ambiguous job spec"), name); else - report_error (_("%s: ambiguous job spec"), name); + internal_error (_("%s: ambiguous job spec"), name); return (DUP_JOB); } else |