aboutsummaryrefslogtreecommitdiffstats
path: root/network-scripts/network-functions
diff options
context:
space:
mode:
Diffstat (limited to 'network-scripts/network-functions')
-rwxr-xr-xnetwork-scripts/network-functions2
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