diff options
author | Olav Vitters <olav@vitters.nl> | 2020-07-28 11:05:19 +0200 |
---|---|---|
committer | Olav Vitters <olav@vitters.nl> | 2020-07-28 11:05:19 +0200 |
commit | 84c74542168374f2f6417f1cf6ef9e2f8680f463 (patch) | |
tree | 044ce434bff626d53de510d4adb328ed02f678c2 | |
parent | 37a78367b03f77b618c65085accadf2643779379 (diff) | |
download | initscripts-84c74542168374f2f6417f1cf6ef9e2f8680f463.tar initscripts-84c74542168374f2f6417f1cf6ef9e2f8680f463.tar.gz initscripts-84c74542168374f2f6417f1cf6ef9e2f8680f463.tar.bz2 initscripts-84c74542168374f2f6417f1cf6ef9e2f8680f463.tar.xz initscripts-84c74542168374f2f6417f1cf6ef9e2f8680f463.zip |
network-functions: make use of is_true and is_false in our customizations
-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 |