From eafbed0366c9cda0c7c2597541b44f3f99b43ec1 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 10 Nov 2008 20:57:03 +0000 Subject: Fix stopping with a faulty pidfile. --- src/rc/start-stop-daemon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c index a4750e0..4daa93b 100644 --- a/src/rc/start-stop-daemon.c +++ b/src/rc/start-stop-daemon.c @@ -822,6 +822,7 @@ int start_stop_daemon(int argc, char **argv) /* Allow start-stop-daemon --signal HUP --exec /usr/sbin/dnsmasq * instead of forcing --stop --oknodo as well */ if (!start && + !stop && sig != SIGINT && sig != SIGTERM && sig != SIGQUIT && -- cgit v1.2.3