aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 40b3ef3e3..41ae5cbd2 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -8590,7 +8590,7 @@ evaltree(union node *n, int flags)
n->nbinary.ch1,
(flags | ((is_or >> 1) - 1)) & EV_TESTED
);
- if (!status == is_or || evalskip)
+ if ((!status) == is_or || evalskip)
break;
n = n->nbinary.ch2;
evaln: