From: Jon Trulson Date: Thu, 12 Jul 2012 19:13:21 +0000 (-0600) Subject: dtsession: also block HUP and PIPE when preparing to shutdown X-Git-Tag: 2.2.0a~22 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f46a9c62b996ef8feb33ae50453457488dd6e66d;p=oweals%2Fcde.git dtsession: also block HUP and PIPE when preparing to shutdown --- diff --git a/cde/programs/dtsession/SmUI.c b/cde/programs/dtsession/SmUI.c index 1c7a6d0f..ada47568 100644 --- a/cde/programs/dtsession/SmUI.c +++ b/cde/programs/dtsession/SmUI.c @@ -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