diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-01-03 10:49:30 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-01-03 10:49:30 -0500 |
commit | d152b349df84fbe1d37029315dfae04888495346 (patch) | |
tree | 8a3c695e4dc63d95dbe9ffb2322351fcf84c175a /src/state/history/mod.rs | |
parent | 5b75e39514b75696fd812e711e59ce1b53b8b412 (diff) | |
download | nbsh-d152b349df84fbe1d37029315dfae04888495346.tar.gz nbsh-d152b349df84fbe1d37029315dfae04888495346.zip |
clean up some deps
Diffstat (limited to 'src/state/history/mod.rs')
-rw-r--r-- | src/state/history/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/state/history/mod.rs b/src/state/history/mod.rs index bf0c11f..fa02b98 100644 --- a/src/state/history/mod.rs +++ b/src/state/history/mod.rs @@ -608,6 +608,8 @@ async fn run_pipeline( return (std::process::ExitStatus::from_raw(1 << 8), false); } Res::Exit(Ok(status)) => { + // nix::sys::signal::Signal is repr(i32) + #[allow(clippy::as_conversions)] return ( status, // i'm not sure what exactly the expected behavior here is @@ -615,7 +617,7 @@ async fn run_pipeline( // SIGTERM doesn't, but i don't know what the precise // logic is or how other signals are handled status.signal() - == Some(signal_hook::consts::signal::SIGINT), + == Some(nix::sys::signal::Signal::SIGINT as i32), ); } Res::Exit(Err(e)) => { |