fix so-setup error duplicate bond0

This commit is contained in:
reyesj2
2025-11-14 11:19:32 -06:00
parent 7762faf075
commit 6b525a2c21

View File

@@ -729,7 +729,7 @@ configure_network_sensor() {
fi fi
# Create the bond interface only if it doesn't already exist # Create the bond interface only if it doesn't already exist
nmcli -f name,uuid -p con | grep -q '$INTERFACE' nmcli -f name,uuid -p con | grep -q "$INTERFACE"
local found_int=$? local found_int=$?
if [[ $found_int != 0 ]]; then if [[ $found_int != 0 ]]; then