projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*: use fopen_or_warn in few more places
[oweals/busybox.git]
/
shell
/
hush.c
diff --git
a/shell/hush.c
b/shell/hush.c
index 2d5697269da70fce4ba3c3b6b79dc4d2fa2e585a..4e6d5009428b77f70e84bbcf7f6cc49bc39d25e9 100644
(file)
--- a/
shell/hush.c
+++ b/
shell/hush.c
@@
-891,7
+891,8
@@
static int builtin_cd(char **argv)
static int builtin_exec(char **argv)
{
if (argv[1] == NULL)
- return EXIT_SUCCESS; /* Really? */
+ return EXIT_SUCCESS; /* bash does this */
+// FIXME: if exec fails, bash does NOT exit! We do...
pseudo_exec_argv(argv + 1);
/* never returns */
}