hush: add forgotten {} in multi-statement if.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -1489,9 +1489,9 @@ static sighandler_t pick_sighandler(unsigned sig)
|
|||||||
handler = sigexit;
|
handler = sigexit;
|
||||||
#endif
|
#endif
|
||||||
/* sig has special handling? */
|
/* sig has special handling? */
|
||||||
else if (G.special_sig_mask & sigmask)
|
else if (G.special_sig_mask & sigmask) {
|
||||||
handler = record_pending_signo;
|
handler = record_pending_signo;
|
||||||
/* TTIN/TTOU/TSTS can't be set to record_pending_signo
|
/* TTIN/TTOU/TSTP can't be set to record_pending_signo
|
||||||
* in order to ignore them: they will be raised
|
* in order to ignore them: they will be raised
|
||||||
* in an endless loop when we try to do some
|
* in an endless loop when we try to do some
|
||||||
* terminal ioctls! We do have to _ignore_ these.
|
* terminal ioctls! We do have to _ignore_ these.
|
||||||
@ -1499,6 +1499,7 @@ static sighandler_t pick_sighandler(unsigned sig)
|
|||||||
if (SPECIAL_JOBSTOP_SIGS & sigmask)
|
if (SPECIAL_JOBSTOP_SIGS & sigmask)
|
||||||
handler = SIG_IGN;
|
handler = SIG_IGN;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return handler;
|
return handler;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user