aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-19 21:45:27 +0000
committerRoy Marples <roy@marples.name>2008-02-19 21:45:27 +0000
commitf35f78818727f982da7f8d59c99ad07135ab113a (patch)
tree5ee8b8082ba671e6b67174457b3c13e7c9dc51d2 /src/rc
parent9e39a934b822adf811cab4f63712e487f1d9779a (diff)
Fix verbose without --exec.
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/start-stop-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c
index 057901e0..2bde6e3b 100644
--- a/src/rc/start-stop-daemon.c
+++ b/src/rc/start-stop-daemon.c
@@ -368,7 +368,7 @@ static int run_stop_schedule (const char *const *argv, const char *cmd,
einfo ("Will stop PID in pidfile `%s'", pidfile);
if (uid)
einfo ("Will stop processes owned by UID %d", uid);
- if (argv)
+ if (argv && *argv)
einfo ("Will stop processes of `%s'", *argv);
if (cmd)
einfo ("Will stop processes called `%s'", cmd);