From f1b1d7be9c8703c1e9853e8a1fc63e80a2c5ee66 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Wed, 4 Oct 2017 18:19:34 +0000 Subject: Only print "done." after successful "syspatch -c". suggested by and ok ajacoutot, mpi --- distrib/miniroot/install.sub | 5 ++--- 1 file 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 @@ -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 -- cgit v1.2.3