avoid reboot during testing

This commit is contained in:
Jason Ertel committed 2023-10-12 13:54:07 -04:00
1 parent 5252482fe3
commit 17ae9b3349
1 file changed
+1 -1
+1 -1
View File
@@ -91,7 +91,7 @@ fi
# if packages are updated and the box isn't rebooted
if [[ $is_debian ]]; then
update_packages
if [[ -f "/var/run/reboot-required" ]]; then
if [[ -f "/var/run/reboot-required" ]] && [ -z "$TESTING" ]; then
whiptail_debian_reboot_required
reboot
fi