From f35f78818727f982da7f8d59c99ad07135ab113a Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 19 Feb 2008 21:45:27 +0000 Subject: Fix verbose without --exec. --- src/rc/start-stop-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rc') 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); -- cgit v1.2.3