diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index e7a867f52..daec975c5 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -8429,7 +8429,7 @@ evaltree(union node *n, int flags) n->nbinary.ch1, (flags | ((is_or >> 1) - 1)) & EV_TESTED ); - if (!exitstatus == is_or) + if ((!exitstatus) == is_or) break; if (!evalskip) { n = n->nbinary.ch2; |