Skip to content

Commit

Permalink
Avoid the 'Press enter to quit' to show when rebooting to apply a pen…
Browse files Browse the repository at this point in the history
…ding kernel update
  • Loading branch information
Antiz96 committed Dec 1, 2023
1 parent b4d5865 commit e708d34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/script/arch-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@ kernel_reboot() {
if ! reboot; then
echo -e >&2 "\nAn error has occurred\nThe reboot has been aborted\n" && read -n 1 -r -s -p $'Press \"enter\" to quit\n'
exit 6
else
exit 0
fi
;;
*)
Expand Down

0 comments on commit e708d34

Please sign in to comment.