Silence the right get_pid() call

This commit is contained in:
Christian Ruppert 2012-09-12 21:35:55 +02:00
parent a06072b395
commit 3cd293c515

View File

@ -1081,7 +1081,7 @@ start_stop_daemon(int argc, char **argv)
}
if (pidfile)
pid = get_pid(pidfile, false);
pid = get_pid(pidfile, true);
else
pid = 0;
@ -1354,7 +1354,7 @@ start_stop_daemon(int argc, char **argv)
alive = true;
} else {
if (pidfile) {
pid = get_pid(pidfile, true);
pid = get_pid(pidfile, false);
if (pid == -1) {
eerrorx("%s: did not "
"create a valid"