prefix with _ because not used

master
rascul 2 years ago
parent 41ae17a52a
commit 0bfe2eab5a

@ -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)

Loading…
Cancel
Save