We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cb9b88 commit 6301108Copy full SHA for 6301108
1 file changed
src/uu/nohup/src/nohup.rs
@@ -78,8 +78,9 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
78
if unsafe { !_vprocmgr_detach_from_console(0).is_null() } {
79
return Err(NohupError::CannotDetach.into());
80
}
81
-
+ #[allow(clippy::unwrap_used, reason = "set as required by clap")]
82
let mut cmd_iter = matches.get_many::<String>(options::CMD).unwrap();
83
84
let cmd = cmd_iter.next().unwrap();
85
let args: Vec<&String> = cmd_iter.collect();
86
0 commit comments