misc fixes

This commit is contained in:
Aiden McClelland
2021-09-06 17:58:48 -06:00
parent 26af4dacf9
commit f0bfcd9c02
9 changed files with 27 additions and 9 deletions

View File

@@ -24,6 +24,7 @@ impl Shutdown {
Command::new("reboot").spawn().unwrap().wait().unwrap();
} else {
Command::new("shutdown")
.arg("-h")
.arg("now")
.spawn()
.unwrap()