diff options
Diffstat (limited to 'src/rc')
-rw-r--r-- | src/rc/start-stop-daemon.c | 2 |
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); |