-rw-r--r-- | core/launcher/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp index 3ee5e26..5cf624b 100644 --- a/core/launcher/main.cpp +++ b/core/launcher/main.cpp @@ -353,5 +353,5 @@ void remove_pidfile ( ) } -void handle_sigterm ( int sig ) +void handle_sigterm ( int /* sig */ ) { if ( qApp ) @@ -365,4 +365,5 @@ int main( int argc, char ** argv ) ::signal ( SIGTERM, handle_sigterm ); + ::signal ( SIGINT, handle_sigterm ); ::setsid ( ); |