diff options
Diffstat (limited to 'network-scripts/network-functions')
-rwxr-xr-x | network-scripts/network-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network-scripts/network-functions b/network-scripts/network-functions index 2d95cfcf..9cb659d1 100755 --- a/network-scripts/network-functions +++ b/network-scripts/network-functions @@ -469,7 +469,7 @@ check_device_down () check_link_down () { - if [ "${MII_NOT_SUPPORTED}" = yes ]; then + if is_true "${MII_NOT_SUPPORTED}"; then return 1 fi if ! LC_ALL=C ip link show dev $1 2>/dev/null| grep -q ",UP" ; then |