properly unwrap bin.sudo

i18n
mrshmllow 2 years ago committed by Michal
parent 690b5d5a18
commit 058308ae54

@ -51,7 +51,7 @@ impl ShellCommand {
} }
pub fn sudo() -> Self { pub fn sudo() -> Self {
Self::new(&config::read().bin.sudo.unwrap_or_default()) Self::new(config::read().bin.sudo.unwrap_or("sudo".to_string()))
} }
pub fn rm() -> Self { pub fn rm() -> Self {

Loading…
Cancel
Save