diff --git a/setup/so-functions b/setup/so-functions index c41ae42bd..87cbdb68e 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -889,7 +889,7 @@ configure_network_sensor() { for BNIC in "${BNICS[@]}"; do add_interface_bond0 "$BNIC" >> "$setup_log" 2>&1 local ret=$? - [[ $ret ]] || err=$ret + [[ $ret -eq 0 ]] || err=$ret done return $err }