diff options
Diffstat (limited to 'Src/loop.c')
-rw-r--r-- | Src/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/loop.c b/Src/loop.c index 16e4ff314..b35024d6b 100644 --- a/Src/loop.c +++ b/Src/loop.c @@ -378,7 +378,7 @@ execif(Cmd cmd, LinkList args, int flags) noerrexit = olderrexit; if (*t) { - cmdpush(*i ? (s ? CS_ELIFTHEN : CS_IFTHEN) : CS_ELSE); + cmdpush(s ? CS_ELIFTHEN : CS_IFTHEN); execlist(*t, 1, flags & CFLAG_EXEC); cmdpop(); } else |