projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bash-4.3 distribution sources and documentation
[platform/upstream/bash.git]
/
builtins
/
common.c
diff --git
a/builtins/common.c
b/builtins/common.c
index
737ace2
..
fb2b38c
100644
(file)
--- 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 : "`'");
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);
}
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
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
return (DUP_JOB);
}
else