Ignore errors when killing command on pre-spawn

This commit is contained in:
Félix Saparelli 2021-07-22 01:36:19 +12:00
parent 7bd99f30df
commit 0ab1405186
No known key found for this signature in database
GPG key ID: B948C4BAE44FC474

View file

@ -257,7 +257,7 @@ impl ExecHandler {
}
let mut child = self.child_process.lock()?;
child.kill()?;
child.kill().ok();
let mut command = self.args.shell.to_command(&self.args.cmd);
debug!("Assembled command: {:?}", command);