aboutsummaryrefslogtreecommitdiff
path: root/net/iproute2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/iproute2.sh')
-rw-r--r--net/iproute2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/iproute2.sh b/net/iproute2.sh
index bb52e983..23ada481 100644
--- a/net/iproute2.sh
+++ b/net/iproute2.sh
@@ -6,7 +6,7 @@ _ip()
if [ -x /bin/ip ]; then
echo /bin/ip
else
- echo /sbin/ip
+ which ip 2>/dev/null
fi
}