summaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 40b3ef3..41ae5cb 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: