mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Set $percentage since it only exists in previous subshell
This commit is contained in:
@@ -631,6 +631,7 @@ if [[ -n $SO_ERROR ]]; then
|
||||
whiptail_setup_failed
|
||||
else
|
||||
{
|
||||
export percentage=95 # set to last percentage used in previous subshell
|
||||
if [[ -n $ALLOW_ROLE && -n $ALLOW_CIDR ]]; then
|
||||
set_progress_str 98 "Running so-allow -${ALLOW_ROLE} for ${ALLOW_CIDR}"
|
||||
IP=$ALLOW_CIDR so-allow -$ALLOW_ROLE >> $setup_log 2>&1
|
||||
|
||||
Reference in New Issue
Block a user