From 27712b5a46e3b579b9d03e363a7d0769e8c307fc Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 9 Nov 2013 16:11:04 -0500 Subject: Signals: Remove empty sig_hup SIGHUP handling is implemented later using a tevent handler so sig_hup() is useless. --- src/util/server.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/util/server.c') diff --git a/src/util/server.c b/src/util/server.c index c1a9644a1..11569b937 100644 --- a/src/util/server.c +++ b/src/util/server.c @@ -237,12 +237,6 @@ int pidfile(const char *path, const char *name) return 0; } -static void sig_hup(int sig) -{ - /* cycle log/debug files */ - return; -} - void sig_term(int sig) { #if HAVE_GETPGRP @@ -321,8 +315,6 @@ static void setup_signals(void) BlockSignals(false, SIGHUP); BlockSignals(false, SIGTERM); - CatchSignal(SIGHUP, sig_hup); - #ifndef HAVE_PRCTL /* If prctl is not defined on the system, try to handle * some common termination signals gracefully */ -- cgit