diff options
author | Roy Marples <roy@marples.name> | 2008-11-10 20:57:03 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-11-10 20:57:03 +0000 |
commit | eafbed0366c9cda0c7c2597541b44f3f99b43ec1 (patch) | |
tree | b96b8f2f5ffd238ed47a5ce4d6893abd5a292c9e | |
parent | 07861410268960e2ba432bf56f4fc6369e83f593 (diff) |
Fix stopping with a faulty pidfile.
-rw-r--r-- | src/rc/start-stop-daemon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c index a4750e0e..4daa93b5 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 && |