Updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user