From 27758b9a1af9bd66858a1ed6e9d262bfd75d387e Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Wed, 2 Jan 2019 12:18:18 -0500 Subject: [PATCH] Add missing argument to error message --- libcitadel/src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcitadel/src/util.rs b/libcitadel/src/util.rs index e5c53b1..448ed2e 100644 --- a/libcitadel/src/util.rs +++ b/libcitadel/src/util.rs @@ -11,7 +11,7 @@ use Result; pub fn ensure_command_exists(cmd_path: &str) -> Result<()> { if !Path::new(cmd_path).exists() { - bail!("Cannot execute '{}': command does not exist"); + bail!("Cannot execute '{}': command does not exist", cmd_path); } Ok(()) }