From: Guus Sliepen Date: Mon, 6 Jun 2011 19:19:30 +0000 (+0200) Subject: Reopen log file after SIGHUP. X-Git-Tag: import-tinc-1.1~485 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=60ed7fe598ccf3ac11fab616c9c85492c576b722;p=meshlink Reopen log file after SIGHUP. This was missed by the previous merge. --- diff --git a/src/net.c b/src/net.c index b299bf18..aae73969 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(); }