add additional test modes

This commit is contained in:
Jason Ertel
2023-09-01 17:24:12 -04:00
parent a11259c683
commit 6efdf1b9d0

View File

@@ -101,8 +101,10 @@ desktop_salt_local() {
Press the Enter key to reboot. Press the Enter key to reboot.
EOM EOM
whiptail --title "$whiptail_title" --msgbox "$message" 12 75 if [[ -z "$TESTING" ]]; then
reboot whiptail --title "$whiptail_title" --msgbox "$message" 12 75
reboot
fi
exit 0 exit 0
} }