From 2e6343c343b46b805e2d8d7995d6965896df3c5e Mon Sep 17 00:00:00 2001 From: Andrej Date: Mon, 4 Aug 2025 11:35:23 -0400 Subject: [PATCH] uz801: clippy fixes --- installer/src/uz801.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/src/uz801.rs b/installer/src/uz801.rs index 7d5b7db..607b024 100644 --- a/installer/src/uz801.rs +++ b/installer/src/uz801.rs @@ -183,7 +183,7 @@ fn install_file(adb_device: &mut ADBUSBDevice, dest: &str, payload: &[u8]) -> Re // Verify with md5sum let mut buf = Vec::::new(); - if let Ok(_) = adb_device.shell_command(&["busybox", "md5sum", &push_tmp_path], &mut buf) { + if adb_device.shell_command(&["busybox", "md5sum", &push_tmp_path], &mut buf).is_ok() { let output = String::from_utf8_lossy(&buf); if output.contains(&format!("{file_hash:x}")) { // Verification successful, move to final destination