[fix] Change =<(...) to =$(...)

This commit is contained in:
William Wernert
2020-04-22 14:59:46 -04:00
parent 5c9e2f1820
commit 158f380dac

View File

@@ -775,7 +775,7 @@ whiptail_patch_schedule_select_days() {
[ -n "$QUIET" ] && return
# Select the days to patch
PATCHSCHEDULEDAYS=<(whiptail --title "Security Onion Setup" --checklist \
PATCHSCHEDULEDAYS=$(whiptail --title "Security Onion Setup" --checklist \
"Which days do you want to apply OS patches?" 15 75 8 \
Monday "" OFF \
Tuesday "" ON \
@@ -797,7 +797,7 @@ whiptail_patch_schedule_select_hours() {
[ -n "$QUIET" ] && return
# Select the hours to patch
PATCHSCHEDULEHOURS=<(whiptail --title "Security Onion Setup" --checklist \
PATCHSCHEDULEHOURS=$(whiptail --title "Security Onion Setup" --checklist \
"At which time, UTC, do you want to apply OS patches on the selected days? Hours 12 through 23 can be selected on the next screen." 22 75 13 \
00:00 "" OFF \
01:00 "" OFF \
@@ -816,7 +816,7 @@ whiptail_patch_schedule_select_hours() {
whiptail_check_exitstatus $exitstatus
# Select the hours to patch
PATCHSCHEDULEHOURS+=<(whiptail --title "Security Onion Setup" --checklist \
PATCHSCHEDULEHOURS+=$(whiptail --title "Security Onion Setup" --checklist \
"At which time, UTC, do you want to apply OS patches on the selected days?" 22 75 13 \
12:00 "" OFF \
13:00 "" OFF \