redmine

Fixed an error with ignoring IP_CMDs

Showing 1 changed file with 1 additions and 1 deletions
@@ -159,7 +159,7 @@ ip_cmds() { @@ -159,7 +159,7 @@ ip_cmds() {
159 [[ "$IPW_FAST" -ne 0 ]] && 159 [[ "$IPW_FAST" -ne 0 ]] &&
160 # Don't do anything if the interface should be "empty" and it's already is 160 # Don't do anything if the interface should be "empty" and it's already is
161 [[ "${!IP_CMDS_VARIABLE}" = '' ]] && 161 [[ "${!IP_CMDS_VARIABLE}" = '' ]] &&
162 - [[ "${IFACE_DETAILS[${_IFACE}-primary-ipv4address]}" != '' ]] 162 + [[ "${IFACE_DETAILS[${_IFACE}-primary-ipv4address]}" != '' ]] &&
163 return 163 return
164 164
165 ip addr flush dev "$_IFACE" 165 ip addr flush dev "$_IFACE"