diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2017-10-04 18:19:34 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2017-10-04 18:19:34 +0000 |
commit | f1b1d7be9c8703c1e9853e8a1fc63e80a2c5ee66 (patch) | |
tree | b97539596ec56cfa86add968eb23246e2c6cdedc /distrib | |
parent | ae698a213b412fa7b8e66e3e2c172f19aec2ee85 (diff) |
Only print "done." after successful "syspatch -c".
suggested by and ok ajacoutot, mpi
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/miniroot/install.sub | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 6445c0387c5..5dd221ee3ee 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1035 2017/08/25 18:21:30 rpe Exp $ +# $OpenBSD: install.sub,v 1.1036 2017/10/04 18:19:33 tb Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org> @@ -2679,8 +2679,7 @@ 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 "done." if [[ -s \$_CKPATCH ]]; then echo "Run syspatch(8) to install:" cat \$_CKPATCH |