aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 7dacfa0b1..14f8f2422 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -4246,7 +4246,7 @@ static NOINLINE int run_pipe(struct pipe *pi)
4246 set_local_var(p, /*exp:*/ 0, /*lvl:*/ 0, /*ro:*/ 0); 4246 set_local_var(p, /*exp:*/ 0, /*lvl:*/ 0, /*ro:*/ 0);
4247 argv++; 4247 argv++;
4248 } 4248 }
4249 /* Redirect error sets $? to 1. Othervise, 4249 /* Redirect error sets $? to 1. Otherwise,
4250 * if evaluating assignment value set $?, retain it. 4250 * if evaluating assignment value set $?, retain it.
4251 * Try "false; q=`exit 2`; echo $?" - should print 2: */ 4251 * Try "false; q=`exit 2`; echo $?" - should print 2: */
4252 if (rcode == 0) 4252 if (rcode == 0)