diff options
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 64a4beaf..8fbfbab2 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -449,7 +449,7 @@ add_default_route () is_wireless_device () { [ -x /usr/sbin/iw ] || return 1 - LC_ALL=C /usr/sbin/iw dev $1 info > /dev/null 2>&1 || return 0 + LC_ALL=C /usr/sbin/iw dev $1 info > /dev/null 2>&1 && return 0 return 1 } |