diff --git a/setup/so-whiptail b/setup/so-whiptail index 202053cc0..0ec48f2ae 100755 --- a/setup/so-whiptail +++ b/setup/so-whiptail @@ -95,7 +95,7 @@ whiptail_bond_nics() { local unmanaged_bond=0 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 fi if [[ "$unmanaged_bond" == 1 ]]; then