dtsession: also block HUP and PIPE when preparing to shutdown
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user