From 79a52b7a462778b460c0e43e2766382acf136e84 Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Fri, 16 Aug 2019 19:34:33 -0400 Subject: [PATCH] fix typo in sha256sum path --- 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 1483e3a..e17d40d 100644 --- a/libcitadel/src/util.rs +++ b/libcitadel/src/util.rs @@ -60,7 +60,7 @@ pub fn ensure_command_exists(cmd: &str) -> Result<()> { pub fn sha256>(path: P) -> Result { let path = path.as_ref(); - let output = cmd_with_output!("/usr/bin/256sum", "{}", path.display()) + let output = cmd_with_output!("/usr/bin/sha256sum", "{}", path.display()) .context(format!("failed to calculate sha256 on {}", path.display()))?; let v: Vec<&str> = output.split_whitespace().collect();