From 3b4921674ebc1ad4e3c8dc3f722365e885aac849 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 24 Dec 2007 14:26:57 +0000 Subject: hush: fixlet for NOMMU update TODO_config_nommu --- shell/hush.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shell') diff --git a/shell/hush.c b/shell/hush.c index 8e42a8f3f..cb2c3e98e 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!!!! */ -- cgit v1.2.3