2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-20 11:21:14 +00:00
This commit is contained in:
asonix 2023-08-05 11:58:46 -05:00
parent e115a0ddff
commit 04bf9aade7

View file

@ -105,7 +105,7 @@ impl Process {
Ok(Err(e)) => Err(ProcessError::Other(e)), Ok(Err(e)) => Err(ProcessError::Other(e)),
Err(_) => { Err(_) => {
child.kill().await.map_err(ProcessError::Other)?; child.kill().await.map_err(ProcessError::Other)?;
return Err(ProcessError::Timeout); Err(ProcessError::Timeout)
} }
} }
} }