mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
avoid reboot during testing
This commit is contained in:
@@ -91,7 +91,7 @@ fi
|
|||||||
# if packages are updated and the box isn't rebooted
|
# if packages are updated and the box isn't rebooted
|
||||||
if [[ $is_debian ]]; then
|
if [[ $is_debian ]]; then
|
||||||
update_packages
|
update_packages
|
||||||
if [[ -f "/var/run/reboot-required" ]]; then
|
if [[ -f "/var/run/reboot-required" ]] && [ -z "$TESTING" ]; then
|
||||||
whiptail_debian_reboot_required
|
whiptail_debian_reboot_required
|
||||||
reboot
|
reboot
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user