diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-26 04:03:19 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-26 04:03:19 +0000 |
commit | f9a0ab62b78f82110183e5c588db622c066e113b (patch) | |
tree | 6384c40b8f67849b6742256ca27b5fd1779acbc7 /src | |
parent | 7c9a707900b6d4324eb26102aa7a5ade8a49e1ec (diff) | |
download | tor-f9a0ab62b78f82110183e5c588db622c066e113b.tar.gz tor-f9a0ab62b78f82110183e5c588db622c066e113b.zip |
if you want to handle -USR2, you should catch it too.
svn:r2990
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 6137866fad..d37cb0340b 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1044,6 +1044,7 @@ void handle_signals(int is_parent) sigaction(SIGTERM, &action, NULL); /* to terminate now */ sigaction(SIGPIPE, &action, NULL); /* otherwise sigpipe kills us */ sigaction(SIGUSR1, &action, NULL); /* dump stats */ + sigaction(SIGUSR2, &action, NULL); /* go to loglevel debug */ sigaction(SIGHUP, &action, NULL); /* to reload config, retry conns, etc */ #ifdef SIGXFSZ sigaction(SIGXFSZ, &action, NULL); /* handle file-too-big resource exhaustion */ |