From: Guus Sliepen Date: Mon, 6 Jun 2011 19:19:30 +0000 (+0200) Subject: Reopen log file after SIGHUP. X-Git-Tag: release-1.1pre1~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=60ed7fe598ccf3ac11fab616c9c85492c576b722;p=oweals%2Ftinc.git Reopen log file after SIGHUP. This was missed by the previous merge. --- diff --git a/src/net.c b/src/net.c index b299bf1..aae7396 100644 --- a/src/net.c +++ b/src/net.c @@ -244,6 +244,7 @@ static void sigterm_handler(int signal, short events, void *data) { static void sighup_handler(int signal, short events, void *data) { logger(LOG_NOTICE, "Got %s signal", strsignal(signal)); + reopenlogger(); reload_configuration(); }