diff --git a/src/uu/sort/src/tmp_dir.rs b/src/uu/sort/src/tmp_dir.rs index f96d2620a..628805717 100644 --- a/src/uu/sort/src/tmp_dir.rs +++ b/src/uu/sort/src/tmp_dir.rs @@ -71,7 +71,7 @@ impl TmpDirWrapper { } pub fn wait_if_signal(&self) { - let _ = self.lock.lock().unwrap(); + let _lock = self.lock.lock().unwrap(); } }