aboutsummaryrefslogtreecommitdiff
path: root/src/bin/activate.rs
diff options
context:
space:
mode:
authornotgne22021-01-08 18:28:45 -0700
committernotgne22021-01-08 18:28:45 -0700
commit1789551855a8290caad59d3849bab16c56158c70 (patch)
tree2dbd325d2aa78664f42071a8a1b3278418068ff6 /src/bin/activate.rs
parent70c55363a91572790ba5d49b70c58040f112e55c (diff)
Fix trivial lint issues
Diffstat (limited to '')
-rw-r--r--src/bin/activate.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/activate.rs b/src/bin/activate.rs
index 554702c..bf8c907 100644
--- a/src/bin/activate.rs
+++ b/src/bin/activate.rs
@@ -23,7 +23,6 @@ use thiserror::Error;
#[macro_use]
extern crate log;
-#[macro_use]
extern crate serde_derive;
/// Remote activation utility for deploy-rs
@@ -426,7 +425,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Ensure that this process stays alive after the SSH connection dies
let mut signals = Signals::new(&[SIGHUP])?;
std::thread::spawn(move || {
- for sig in signals.forever() {
+ for _ in signals.forever() {
println!("Received NOHUP - ignoring...");
}
});