diff options
author | Denis Vlasenko | 2007-12-24 14:26:57 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-12-24 14:26:57 +0000 |
commit | 3b4921674ebc1ad4e3c8dc3f722365e885aac849 (patch) | |
tree | 156c4305718322a2f5a4e87f5bd8d3063228963e /shell | |
parent | f7be20e70c27b0bed505710393a99d1b6f821ff1 (diff) | |
download | busybox-3b4921674ebc1ad4e3c8dc3f722365e885aac849.zip busybox-3b4921674ebc1ad4e3c8dc3f722365e885aac849.tar.gz |
hush: fixlet for NOMMU
update TODO_config_nommu
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c index 8e42a8f..cb2c3e9 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -1492,16 +1492,16 @@ static void pseudo_exec(struct child_prog *child) { // FIXME: buggy wrt NOMMU! Must not modify any global data // until it does exec/_exit, but currently it does. - int rcode; - if (child->argv) { pseudo_exec_argv(child->argv); } if (child->group) { #if !BB_MMU - bb_error_msg_and_exit("nested lists are not supported on NOMMU"); + bb_error_msg_and_die("nested lists are not supported on NOMMU"); #else + int rcode; + #if ENABLE_HUSH_INTERACTIVE debug_printf_exec("pseudo_exec: setting interactive_fd=0\n"); interactive_fd = 0; /* crucial!!!! */ |