diff options
author | Christian Pointner <equinox@spreadspace.org> | 2010-12-10 00:41:52 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2010-12-10 00:41:52 +0000 |
commit | fcf009ded7a77959da5592e298de93fb044a6757 (patch) | |
tree | 3cbd3d7e245e7d63e9c5eed0e5075fa97ea1a6de /src/sig_handler.c | |
parent | listner_ vs listeners_ (diff) |
re-reading the config file after sig-hup
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@43 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'src/sig_handler.c')
-rw-r--r-- | src/sig_handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sig_handler.c b/src/sig_handler.c index 6e6a04a..7c3d45b 100644 --- a/src/sig_handler.c +++ b/src/sig_handler.c @@ -119,7 +119,7 @@ int signal_handle() case SIGINT: log_printf(NOTICE, "SIG-Int caught, exitting"); return_value = 1; break; case SIGQUIT: log_printf(NOTICE, "SIG-Quit caught, exitting"); return_value = 1; break; case SIGTERM: log_printf(NOTICE, "SIG-Term caught, exitting"); return_value = 1; break; - case SIGHUP: log_printf(NOTICE, "SIG-Hup caught"); break; + case SIGHUP: log_printf(NOTICE, "SIG-Hup caught"); return_value = 2; break; case SIGUSR1: log_printf(NOTICE, "SIG-Usr1 caught"); break; case SIGUSR2: log_printf(NOTICE, "SIG-Usr2 caught"); break; default: log_printf(WARNING, "unknown signal %d caught, ignoring", sig); break; |