network: Fix shellcheck

This commit is contained in:
tschettervictor
2025-03-10 17:44:07 -06:00
committed by GitHub
parent ffcc2371da
commit e90059ff7a

View File

@@ -124,7 +124,7 @@ ACTION="${2}"
INTERFACE="${3}"
if [ "${NO_IP}" -eq 0 ]; then
IP="${4}"
elif [ "${NO_IP}" -eq 1] && [ -z "${4}" ]; then
elif [ "${NO_IP}" -eq 1 ] && [ -z "${4}" ]; then
IP=""
else
usage