diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2019-01-16 23:50:38 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2019-01-16 23:50:38 +0000 |
commit | ae05e51778d2ea0431fe44d2fe30b1c50e204f10 (patch) | |
tree | 49521e1cb81bc7e901a7983247b777ac9ec0d4cc /distrib/miniroot | |
parent | 6a652d610ce0410f91d53a9a5d7ec69efeffed88 (diff) |
When installing a few months after a new release is out, the syspatch(8) check
at first boot may display a large amount of patches to install (one per line).
This kind of overflows the display, so use column(1) to reduce the amount of
lines.
prodded by and ok deraadt@
Diffstat (limited to 'distrib/miniroot')
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 2c83cf76ba1..befb0658ded 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1105 2019/01/13 16:37:29 deraadt Exp $ +# $OpenBSD: install.sub,v 1.1106 2019/01/16 23:50:37 ajacoutot Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org> @@ -2802,7 +2802,7 @@ if ((\${#_KERNV[*]} == 1)) && [[ -s /etc/installurl ]] && echo if [[ -s \$_CKPATCH ]]; then echo "Run syspatch(8) to install:" - cat \$_CKPATCH + column -xc 80 \$_CKPATCH fi rm -f \$_CKPATCH fi |