mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-05-02 02:09:58 -07:00
Get rid of the 'verify' which is flakey
This commit is contained in:
committed by
Markus Unterwaditzer
parent
f0849340cf
commit
bada3846dc
@@ -1,6 +1,6 @@
|
||||
use crate::WingtechArgs as Args;
|
||||
use crate::output::{print, println};
|
||||
use crate::util::{reboot_and_verify, telnet_send_command, telnet_send_file};
|
||||
use crate::util::{reboot_device, telnet_send_command, telnet_send_file};
|
||||
use aes::Aes128;
|
||||
use aes::cipher::{BlockEncrypt, KeyInit, generic_array::GenericArray};
|
||||
use anyhow::{Context, Result, bail};
|
||||
@@ -141,7 +141,7 @@ async fn wingtech_run_install(admin_ip: String, admin_password: String) -> Resul
|
||||
)
|
||||
.await?;
|
||||
|
||||
reboot_and_verify(addr, "shutdown -r -t 1 now", &admin_ip).await;
|
||||
reboot_device(addr, "shutdown -r -t 1 now", &admin_ip).await;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user