summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authoranton <anton@cvs.openbsd.org>2018-03-15 17:43:55 +0000
committeranton <anton@cvs.openbsd.org>2018-03-15 17:43:55 +0000
commit90ac261f6bbcc738d4843a61546f1e1a4d116029 (patch)
tree35b0ac4e89fdf487e18ba7946c0bd85437e891d6 /distrib
parent4448b3fb909a1fbcd76ba467d09cca07b5335e52 (diff)
Always ensure to output a newline after checking for available syspatches.
Otherwise, if syspatch exits 1 any subsequent output will end up on the same line during boot. Discovered while upgrading from current today since we're in release mode. Discussed with and ok tb@
Diffstat (limited to 'distrib')
-rw-r--r--distrib/miniroot/install.sub5
1 files changed, 3 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index ea9c3a84054..c6970521e36 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.1065 2018/02/21 20:02:37 rpe Exp $
+# $OpenBSD: install.sub,v 1.1066 2018/03/15 17:43:54 anton Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -2776,7 +2776,8 @@ set -A _KERNV -- \$(sysctl -n kern.version |
if ((\${#_KERNV[*]} == 1)) && [[ -s /etc/installurl ]] &&
_CKPATCH=\$(mktemp /tmp/_ckpatch.XXXXXXXXXX); then
echo -n "Checking for available binary patches... "
- syspatch -c > \$_CKPATCH && echo "done."
+ syspatch -c > \$_CKPATCH && echo -n "done."
+ echo
if [[ -s \$_CKPATCH ]]; then
echo "Run syspatch(8) to install:"
cat \$_CKPATCH