summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-11-27 21:49:21 +0000
committerderaadt <deraadt@openbsd.org>2013-11-27 21:49:21 +0000
commitb0cb09643701ecdce91410ac78d355631d1487ab (patch)
tree86e496f76a44ff445ae42039b809fd8a46bf46f7
parentRemove an outdated comment. (diff)
downloadwireguard-openbsd-b0cb09643701ecdce91410ac78d355631d1487ab.tar.xz
wireguard-openbsd-b0cb09643701ecdce91410ac78d355631d1487ab.zip
wasteful spaces and tabs snuck in. Actually, it's true -- this is one
place where they do matter...
-rw-r--r--distrib/miniroot/install.sub6
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 6b777277aad..b0674f76188 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.701 2013/11/27 21:48:25 rpe Exp $
+# $OpenBSD: install.sub,v 1.702 2013/11/27 21:49:21 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -301,7 +301,7 @@ _autorespond() {
[[ -n ${_key%%#*} && -n $_val ]] || continue
[[ $_q == *"$_key"* ]] && resp=$_val && let _i++
done <$RESPONSEFILE
- ((_i == 1)) && return
+ ((_i == 1)) && return
if ((_i == 0)); then
[[ -n $_def ]] && resp=$_def && return
echo "\nQuestion has no answer in response file."
@@ -2149,7 +2149,7 @@ get_responsefile() {
_mode=$(sed -E '/filename/s/^.*auto_(install|upgrade).*$/\1/p;d' \
/var/db/dhclient.leases.$_bootdev 2>/dev/null)
_mac=$(ifconfig $_bootdev | sed 's/.*lladdr \(.*\)/\1/p;d')
-
+
for _f in $_mac-$_mode $_mode; do
ftp -o "/$_mode.conf" "http://$_server/$_f.conf"
[[ -s /$_mode.conf ]] && action=$_mode && break