[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/nepomuk/server
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2008-07-22 17:56:48
Message-ID: 1216749408.668515.12942.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 836650 by trueg:
Gracefully exit on SIGTERM
M +2 -0 main.cpp
--- trunk/KDE/kdebase/runtime/nepomuk/server/main.cpp #836649:836650
@@ -38,6 +38,7 @@
switch( signal ) {
case SIGHUP:
case SIGQUIT:
+ case SIGTERM:
case SIGINT:
if ( qApp ) {
qApp->quit();
@@ -54,6 +55,7 @@
sigaction( SIGHUP, &sa, 0 );
sigaction( SIGINT, &sa, 0 );
sigaction( SIGQUIT, &sa, 0 );
+ sigaction( SIGTERM, &sa, 0 );
#endif
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic