From 248ae7d4d5a8a81a12d286448c6ec7f1956c3e31 Mon Sep 17 00:00:00 2001 From: orignal Date: Tue, 12 Jan 2016 10:12:55 -0500 Subject: [PATCH] do nothing upon SIGHUP for now --- DaemonLinux.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/DaemonLinux.cpp b/DaemonLinux.cpp index b4fd7815..20cad65e 100644 --- a/DaemonLinux.cpp +++ b/DaemonLinux.cpp @@ -17,17 +17,8 @@ void handle_signal(int sig) switch (sig) { case SIGHUP: - if (i2p::util::config::GetArg("daemon", 0) == 1) - { - static bool first=true; - if (first) - { - first=false; - return; - } - } - LogPrint(eLogInfo, "Daemon: Got SIGHUP, reloading config."); - i2p::util::filesystem::ReadConfigFile(i2p::util::config::mapArgs, i2p::util::config::mapMultiArgs); + LogPrint(eLogInfo, "Daemon: Got SIGHUP, doing nothing"); + // TODO: break; case SIGABRT: case SIGTERM: