dtsession: also block HUP and PIPE when preparing to shutdown
This commit is contained in:
parent
dc5d68afba
commit
f46a9c62b9
|
|
@ -1157,6 +1157,8 @@ ImmediateExit(
|
|||
*/
|
||||
#if !defined(SVR4) && !defined(sco)
|
||||
old = sigblock(sigmask(SIGTERM));
|
||||
sigblock(sigmask(SIGHUP));
|
||||
sigblock(sigmask(SIGPIPE));
|
||||
#else
|
||||
old = sighold(SIGTERM);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue