mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-06-14 22:28:43 +02:00
[fix] Export instead of declaring dynamic variables
This commit is contained in:
+1
-1
@@ -279,7 +279,7 @@ whiptail_enable_components() {
|
||||
|
||||
# Set any variables to 1 if they exist in COMPONENTS
|
||||
for component in "${COMPONENTS[@]}"; do
|
||||
declare "$component=1"
|
||||
export "$component=1"
|
||||
done
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user