aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c6
1 files changed, 3 insertions, 3 deletions
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)
1492{ 1492{
1493// FIXME: buggy wrt NOMMU! Must not modify any global data 1493// FIXME: buggy wrt NOMMU! Must not modify any global data
1494// until it does exec/_exit, but currently it does. 1494// until it does exec/_exit, but currently it does.
1495 int rcode;
1496
1497 if (child->argv) { 1495 if (child->argv) {
1498 pseudo_exec_argv(child->argv); 1496 pseudo_exec_argv(child->argv);
1499 } 1497 }
1500 1498
1501 if (child->group) { 1499 if (child->group) {
1502#if !BB_MMU 1500#if !BB_MMU
1503 bb_error_msg_and_exit("nested lists are not supported on NOMMU"); 1501 bb_error_msg_and_die("nested lists are not supported on NOMMU");
1504#else 1502#else
1503 int rcode;
1504
1505#if ENABLE_HUSH_INTERACTIVE 1505#if ENABLE_HUSH_INTERACTIVE
1506 debug_printf_exec("pseudo_exec: setting interactive_fd=0\n"); 1506 debug_printf_exec("pseudo_exec: setting interactive_fd=0\n");
1507 interactive_fd = 0; /* crucial!!!! */ 1507 interactive_fd = 0; /* crucial!!!! */