]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Work on OpenBSD sh, unset seems to add misc crap.
authorRoy Marples <roy@marples.name>
Sat, 11 Oct 2014 00:44:20 +0000 (00:44 +0000)
committerRoy Marples <roy@marples.name>
Sat, 11 Oct 2014 00:44:20 +0000 (00:44 +0000)
dhcpcd-run-hooks.in

index 1bfa1b39b410bf181daeba1979d280ad83d0f72e..032ce9b2c8da27e5c2f5254b49048e97a4d709a8 100644 (file)
@@ -52,7 +52,7 @@ list_interfaces()
                [ -e "$x" ] || continue
                for i in $interface_order; do
                        if [ $i = "${x##*/}" ]; then
-                               unset x
+                               x=
                                break
                        fi
                done