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");
|
logit("\nReceived SIGHUP, reloading syslogd.\n");
|
||||||
init();
|
init();
|
||||||
|
|
||||||
if (pidfile(PidFile))
|
if (!Debug && pidfile(PidFile))
|
||||||
ERR("Failed writing %s", PidFile);
|
ERR("Failed writing %s", PidFile);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user