We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b290ad2 + bd6b372 commit 97e5ca2Copy full SHA for 97e5ca2
lib/src/reboot.rs
@@ -14,7 +14,7 @@ pub(crate) fn reboot() -> anyhow::Result<()> {
14
let _ = std::io::stdout().flush();
15
let _ = std::io::stderr().flush();
16
Task::new("Rebooting system", "systemd-run")
17
- .args(["--message=Initiated by bootc", "reboot"])
+ .args(["--", "systemctl", "reboot", "--message=Initiated by bootc"])
18
.run()?;
19
tracing::debug!("Initiated reboot, sleeping forever...");
20
loop {
0 commit comments