This commit is contained in:
Stephan Raabe
2024-05-27 17:46:33 +02:00
parent a5cff60489
commit 45bea3effa
2 changed files with 3 additions and 5 deletions

View File

@@ -8,8 +8,7 @@ echo -e "${NONE}"
echo "A reboot of your system is recommended."
echo
if gum confirm "Do you want to reboot your system now?" ;then
echo ":: Rebooting now ..."
sleep 3
gum spin --spinner dot --title "Rebooting now..." -- sleep 3
systemctl reboot
elif [ $? -eq 130 ]; then
exit 130