mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-17 21:38:11 -07:00
cargo fmt
This commit is contained in:
@@ -199,9 +199,7 @@ fn install_file(adb_device: &mut ADBUSBDevice, dest: &str, payload: &[u8]) -> Re
|
|||||||
|
|
||||||
// Verification failed, clean up and retry
|
// Verification failed, clean up and retry
|
||||||
if attempt < MAX_RETRIES {
|
if attempt < MAX_RETRIES {
|
||||||
println!(
|
println!("MD5 verification failed on attempt {attempt}, retrying...");
|
||||||
"MD5 verification failed on attempt {attempt}, retrying..."
|
|
||||||
);
|
|
||||||
let mut buf = Vec::<u8>::new();
|
let mut buf = Vec::<u8>::new();
|
||||||
adb_device
|
adb_device
|
||||||
.shell_command(&["rm", "-f", &push_tmp_path], &mut buf)
|
.shell_command(&["rm", "-f", &push_tmp_path], &mut buf)
|
||||||
|
|||||||
Reference in New Issue
Block a user