diff --git a/src/lib.rs b/src/lib.rs index 239717d..88fa359 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -56,7 +56,9 @@ pub fn handle_client() { disk.write_all(&buffer).unwrap(); // Reboot. - Command::new("reboot").unwrap(); + let _reboot = Command::new("reboot") + .output() + .unwrap(); } }