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