make safer

This commit is contained in:
Daniella 2023-10-27 02:26:12 +02:00
parent 94e6b3c737
commit 66668e5457
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -91,9 +91,9 @@ fn kill_all() -> io::Result<()> {
unsafe {
sync();
}
thread::sleep(Duration::from_millis(50));
thread::sleep(Duration::from_millis(100));
fs::write("/proc/sysrq-trigger", "u")?;
thread::sleep(Duration::from_millis(50));
thread::sleep(Duration::from_millis(200));
fs::write("/proc/sysrq-trigger", "o")?;
Ok(())