Fix stopping with a faulty pidfile.
This commit is contained in:
parent
0786141026
commit
eafbed0366
@ -822,6 +822,7 @@ int start_stop_daemon(int argc, char **argv)
|
|||||||
/* Allow start-stop-daemon --signal HUP --exec /usr/sbin/dnsmasq
|
/* Allow start-stop-daemon --signal HUP --exec /usr/sbin/dnsmasq
|
||||||
* instead of forcing --stop --oknodo as well */
|
* instead of forcing --stop --oknodo as well */
|
||||||
if (!start &&
|
if (!start &&
|
||||||
|
!stop &&
|
||||||
sig != SIGINT &&
|
sig != SIGINT &&
|
||||||
sig != SIGTERM &&
|
sig != SIGTERM &&
|
||||||
sig != SIGQUIT &&
|
sig != SIGQUIT &&
|
||||||
|
Loading…
Reference in New Issue
Block a user