summaryrefslogtreecommitdiffstats
path: root/src/connections/ethernet
diff options
context:
space:
mode:
Diffstat (limited to 'src/connections/ethernet')
-rw-r--r--src/connections/ethernet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connections/ethernet b/src/connections/ethernet
index 97875f8..e51f68d 100644
--- a/src/connections/ethernet
+++ b/src/connections/ethernet
@@ -143,7 +143,7 @@ ethernet_up() {
case "$IP6" in
dhcp*)
- if [[ ! -x /usr/sbin/dhclient ]]; then
+ if ! type dhclient &>/dev/null; then
report_fail "You need to install dhclient to use DHCPv6."
stop_80211x
return 1