summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhalex <halex@openbsd.org>2018-01-21 19:58:37 +0000
committerhalex <halex@openbsd.org>2018-01-21 19:58:37 +0000
commitbb893a4efad567132227eee6dfebadf8d828db1e (patch)
treed07385e5a57b3b1dfc19a59ca7a708eff931e0f2
parentRelease interrupt source if the interrupt task is already scheduled (diff)
downloadwireguard-openbsd-bb893a4efad567132227eee6dfebadf8d828db1e.tar.xz
wireguard-openbsd-bb893a4efad567132227eee6dfebadf8d828db1e.zip
fix error handling while fetching sets
reported by naddy@ long ago ok rpe@
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 3 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index e87db99e5a9..71eb873db19 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.1055 2018/01/18 17:23:15 job Exp $
+# $OpenBSD: install.sub,v 1.1056 2018/01/21 19:58:37 halex Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -1610,6 +1610,8 @@ install_files() {
$AUTO && exit 1
return
fi
+ _unver=$(rmel $_f $_unver)
+ _get_sets=$(rmel $_f $_get_sets)
continue
fi