diff --git a/src/app.rs b/src/app.rs index 354f1b5..6f0a8b1 100644 --- a/src/app.rs +++ b/src/app.rs @@ -58,7 +58,7 @@ impl App { pub fn check_restart(&self, status: ExitStatus) -> bool { if status.success() { self.restart_on_success.unwrap_or(false) - } else if let Some(code) = status.code() { + } else if let Some(_code) = status.code() { self.restart_on_failure.unwrap_or(false) } else { self.restart_on_terminate.unwrap_or(false)