Clear at the end of the script

This commit is contained in:
Santiago Lo Coco 2021-12-26 12:59:28 -03:00
parent 784f44f5f5
commit fb3f702748
1 changed files with 2 additions and 0 deletions

View File

@ -214,6 +214,8 @@ finishInstallation() {
whiptail --yesno "Finally, the PC needs to restart, would you like to do it?" 0 0 whiptail --yesno "Finally, the PC needs to restart, would you like to do it?" 0 0
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
reboot reboot
else
clear
fi fi
} }