mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 11:42:21 +00:00
dtsession: also block HUP and PIPE when preparing to shutdown
This commit is contained in:
parent
dc5d68afba
commit
f46a9c62b9
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue