forked from brl/citadel-tools
Add missing argument to error message
This commit is contained in:
parent
d2f07c01bf
commit
27758b9a1a
@ -11,7 +11,7 @@ use Result;
|
|||||||
|
|
||||||
pub fn ensure_command_exists(cmd_path: &str) -> Result<()> {
|
pub fn ensure_command_exists(cmd_path: &str) -> Result<()> {
|
||||||
if !Path::new(cmd_path).exists() {
|
if !Path::new(cmd_path).exists() {
|
||||||
bail!("Cannot execute '{}': command does not exist");
|
bail!("Cannot execute '{}': command does not exist", cmd_path);
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user