Fix sending SIGKILL by default when restarting processes

This commit is contained in:
Matt Green 2016-12-19 15:36:59 -05:00
parent 9c65e816da
commit a925cb356a

View file

@ -164,8 +164,12 @@ fn main() {
if let Some(ref child) = *guard {
if args.restart {
debug!("Killing child process");
child.kill();
debug!("Stopping child process");
if kill {
child.kill();
} else {
child.terminate();
}
}
debug!("Waiting for process to exit...");