1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

(trunk daemon) yet another commit for #2119 "daemon should reload settings.json on SIGHUP

This commit is contained in:
Charles Kerr 2009-10-29 23:18:53 +00:00
parent 35d8a00912
commit 08fea5612f
2 changed files with 2 additions and 2 deletions

View file

@ -283,7 +283,7 @@ main( int argc, char ** argv )
dtr_watchdir * watchdir = NULL;
signal( SIGINT, gotsig );
signal( SIGKILL, gotsig );
signal( SIGTERM, gotsig );
#ifndef WIN32
signal( SIGHUP, gotsig );
#endif

View file

@ -272,7 +272,7 @@ signal_handler( int sig )
else switch( sig )
{
case SIGINT:
case SIGKILL:
case SIGTERM:
g_message( _( "Got signal %d; trying to shut down cleanly. Do it again if it gets stuck." ), sig );
doAction( "quit", sighandler_cbdata );
break;