Skip to content

Commit 128df33

Browse files
committed
Need parens around |...
1 parent 7e13047 commit 128df33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sh.sem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ execute(struct command *t, volatile int wanttty, int *pipein, int *pipeout,
376376
bifunc->bfunct == (bfunc_t)dopopd))
377377
t->t_dflg &= ~(F_NICE);
378378

379-
if (((t->t_dflg & F_TIME|F_FORK) || ((t->t_dflg & F_NOFORK) == 0 &&
379+
if (((t->t_dflg & (F_TIME|F_FORK)) || ((t->t_dflg & F_NOFORK) == 0 &&
380380
(!bifunc || t->t_dflg &
381381
(F_PIPEOUT | F_AMPERSAND | F_NICE | F_NOHUP | F_HUP)))) ||
382382
/*

0 commit comments

Comments
 (0)