Skip to content

Commit

Permalink
Instead of perpetual scheduling reboot immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
BrenekH committed Jan 5, 2022
1 parent 40c861e commit 51e721b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defaults/rebooter.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ func (r Rebooter) Reboot() error {

r.Logger.Info("Rebooting")

return exec.Command("shutdown", "-r", "+1").Run()
return exec.Command("shutdown", "-r", "now").Run()
}

0 comments on commit 51e721b

Please sign in to comment.