mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-30 18:07:01 +00:00
Minor bug fix in diagnostic output
This commit is contained in:
parent
8d48b873d6
commit
c6968c430a
2
server.c
2
server.c
@ -199,7 +199,7 @@ void server_shutdown_check()
|
|||||||
if (server_pid_time_ms == 0 || time_ms - server_pid_time_ms > 1000) {
|
if (server_pid_time_ms == 0 || time_ms - server_pid_time_ms > 1000) {
|
||||||
server_pid_time_ms = time_ms;
|
server_pid_time_ms = time_ms;
|
||||||
if (server_pid() != server_getpid) {
|
if (server_pid() != server_getpid) {
|
||||||
WHYF("Server pid file no longer contains my pid=%d -- shutting down without cleanup", server_pid);
|
WHYF("Server pid file no longer contains pid=%d -- shutting down without cleanup", server_getpid);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user