From 46fcbe51971557c7ad3c1fcd34a2ea636f4a76a2 Mon Sep 17 00:00:00 2001 From: Mitchell R Date: Sat, 23 May 2026 01:53:33 +0200 Subject: [PATCH] fix(os-update): missing format arg in sha256 error message --- kiosk/src/os_update.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiosk/src/os_update.rs b/kiosk/src/os_update.rs index 3685c7d..217a09a 100644 --- a/kiosk/src/os_update.rs +++ b/kiosk/src/os_update.rs @@ -253,7 +253,7 @@ pub fn apply(server: &str, key: &str, info: &UpdateInfo) -> Result<(), String> { let got_sha = hex_lower(&digest); if got_sha != info.sha256 { let _ = fs::remove_file(&bundle_path); - return Err(format!("sha256 mismatch: expected {}, got {got_sha}")); + return Err(format!("sha256 mismatch: expected {}, got {got_sha}", info.sha256)); } // 4. Hand off to rauc. `rauc install` blocks until the bundle is fully