[fix] patch_schedule should not be local

This commit is contained in:
William Wernert
2021-01-13 10:39:24 -05:00
parent ebac17ce38
commit 0734998315

View File

@@ -1064,7 +1064,6 @@ whiptail_patch_schedule() {
[ -n "$TESTING" ] && return [ -n "$TESTING" ] && return
local patch_schedule
patch_schedule=$(whiptail --title "Security Onion Setup" --radiolist \ patch_schedule=$(whiptail --title "Security Onion Setup" --radiolist \
"Choose OS patch schedule: \nThis will NOT update Security Onion related tools such as Zeek, Elasticsearch, Kibana, SaltStack, etc." 15 75 5 \ "Choose OS patch schedule: \nThis will NOT update Security Onion related tools such as Zeek, Elasticsearch, Kibana, SaltStack, etc." 15 75 5 \
"Automatic" "Updates installed every 8 hours if available" ON \ "Automatic" "Updates installed every 8 hours if available" ON \
@@ -1074,8 +1073,6 @@ whiptail_patch_schedule() {
local exitstatus=$? local exitstatus=$?
whiptail_check_exitstatus $exitstatus whiptail_check_exitstatus $exitstatus
export patch_schedule
} }
whiptail_patch_schedule_import() { whiptail_patch_schedule_import() {