diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2012-09-12 21:35:55 +0200 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2012-09-12 21:35:55 +0200 |
commit | 3cd293c515ddf44172ece36e785209084a11d3fc (patch) | |
tree | c39274818f0f1a2817da22945a175f5260a9e734 | |
parent | a06072b3959adc91ddf5157f69162977cbd48079 (diff) |
Silence the right get_pid() call
-rw-r--r-- | src/rc/start-stop-daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c index 7c24eadd..bd20e346 100644 --- a/src/rc/start-stop-daemon.c +++ b/src/rc/start-stop-daemon.c @@ -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" |