From 907a5c24e36626a81c20de02c24e7de55f09163a Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 11 Oct 2014 00:44:20 +0000 Subject: [PATCH] Work on OpenBSD sh, unset seems to add misc crap. --- dhcpcd-run-hooks.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhcpcd-run-hooks.in b/dhcpcd-run-hooks.in index 1bfa1b39..032ce9b2 100644 --- a/dhcpcd-run-hooks.in +++ b/dhcpcd-run-hooks.in @@ -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 -- 2.47.3