diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-20 21:19:35 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-20 21:19:35 +0000 |
commit | f90ab183d63c64fd2c35f00d65aedbaae8402740 (patch) | |
tree | 717976261ccdb8e7ab68c79def5ea10936c0dcd3 /shell | |
parent | 275b929e0157c7e40a66df108b1e1954b59a2bdf (diff) | |
download | busybox-w32-f90ab183d63c64fd2c35f00d65aedbaae8402740.tar.gz busybox-w32-f90ab183d63c64fd2c35f00d65aedbaae8402740.tar.bz2 busybox-w32-f90ab183d63c64fd2c35f00d65aedbaae8402740.zip |
*: use fopen_or_warn in few more places
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c index 2d5697269..4e6d50094 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -891,7 +891,8 @@ static int builtin_cd(char **argv) | |||
891 | static int builtin_exec(char **argv) | 891 | static int builtin_exec(char **argv) |
892 | { | 892 | { |
893 | if (argv[1] == NULL) | 893 | if (argv[1] == NULL) |
894 | return EXIT_SUCCESS; /* Really? */ | 894 | return EXIT_SUCCESS; /* bash does this */ |
895 | // FIXME: if exec fails, bash does NOT exit! We do... | ||
895 | pseudo_exec_argv(argv + 1); | 896 | pseudo_exec_argv(argv + 1); |
896 | /* never returns */ | 897 | /* never returns */ |
897 | } | 898 | } |