aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-09-12 21:35:55 +0200
committerChristian Ruppert <idl0r@gentoo.org>2012-09-12 21:35:55 +0200
commit3cd293c515ddf44172ece36e785209084a11d3fc (patch)
treec39274818f0f1a2817da22945a175f5260a9e734 /src/rc
parenta06072b3959adc91ddf5157f69162977cbd48079 (diff)
Silence the right get_pid() call
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/start-stop-daemon.c4
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"