mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Change if condition when checking nmcli status
This commit is contained in:
@@ -95,7 +95,7 @@ whiptail_bond_nics() {
|
|||||||
|
|
||||||
local unmanaged_bond=0
|
local unmanaged_bond=0
|
||||||
for bond_nic in "${BNICS[@]}"; do
|
for bond_nic in "${BNICS[@]}"; do
|
||||||
if [[ ! "${nmcli_dev_status_list}" =~ $bond_nic\:unmanaged ]]; then
|
if [[ "${nmcli_dev_status_list}" =~ $bond_nic\:unmanaged ]]; then
|
||||||
unmanaged_bond=1
|
unmanaged_bond=1
|
||||||
fi
|
fi
|
||||||
if [[ "$unmanaged_bond" == 1 ]]; then
|
if [[ "$unmanaged_bond" == 1 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user