Skip to content

Commit

Permalink
Fix reboot/power off message (#331)
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka authored and mauromorales committed May 14, 2024
1 parent 14af54c commit e34a202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/agent/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@ func Install(sourceImgURL string, dir ...string) error {
}

if cc.Install.Reboot {
pterm.Info.Println("Installation completed, rebooting in 5 seconds.")
pterm.Info.Println("Installation completed, starting reboot in 5 seconds.")

}
if cc.Install.Poweroff {
pterm.Info.Println("Installation completed, powering in 5 seconds.")
pterm.Info.Println("Installation completed, starting power off in 5 seconds.")
}

// If neither reboot and poweroff are enabled let the user insert enter to go back to a new shell
Expand Down

0 comments on commit e34a202

Please sign in to comment.