Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Morganamilo committed Mar 30, 2021
1 parent 462e0f6 commit 641dd70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ pub fn pacman<S: AsRef<str> + Display + std::fmt::Debug>(
command.arg(args.bin.as_ref());
let mut sudo_command = config.sudo_flags.clone();
sudo_command.insert(0, config.sudo_bin.clone());
error_msg = format!("failed to run: {} {} {}",
error_msg = format!(
"failed to run: {} {} {}",
sudo_command.join(" "),
args.bin,
args.args().join(" ")
Expand Down

0 comments on commit 641dd70

Please sign in to comment.