aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions-ipv62
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions-ipv6 b/sysconfig/network-scripts/network-functions-ipv6
index 8cfa9158..2db8248c 100644
--- a/sysconfig/network-scripts/network-functions-ipv6
+++ b/sysconfig/network-scripts/network-functions-ipv6
@@ -840,7 +840,7 @@ ipv6_test_device_status() {
fi
# Test if device exists
- if ! ipv6_exec_ip link show dev $device >/dev/null 2>&1; then
+ if [ ! -d "/sys/class/net/${device}" ]; then
# not exists
return 10
fi