Minor, don't touch PID file on SIGHUP in debug mode
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
f606667038
commit
095aa56996
@ -438,7 +438,7 @@ int main(int argc, char *argv[])
|
||||
logit("\nReceived SIGHUP, reloading syslogd.\n");
|
||||
init();
|
||||
|
||||
if (pidfile(PidFile))
|
||||
if (!Debug && pidfile(PidFile))
|
||||
ERR("Failed writing %s", PidFile);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user