From 8791f24f51c27479c237b2f7e0dc738688f4c271 Mon Sep 17 00:00:00 2001 From: Robert Peichaer Date: Mon, 22 May 2017 17:15:53 +0000 Subject: No need to trim a trailling blank, bsort (in scan_dmesg) does not emit one anymore. --- distrib/miniroot/install.sub | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'distrib/miniroot/install.sub') diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index eb008a4e85f..280aef78c46 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1005 2017/05/21 09:09:58 rpe Exp $ +# $OpenBSD: install.sub,v 1.1006 2017/05/22 17:15:52 rpe Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer @@ -3097,7 +3097,6 @@ fi # Scan /var/run/dmesg.boot for interesting devices. DISPLAY=$(scan_dmesg '/^wsdisplay[0-9]* /s/ .*//p') CONSOLE=$(scan_dmesg '/^\([^ ]*\).*: console$/s//\1/p') -CONSOLE=${CONSOLE% } [[ -n $CONSOLE ]] && CSPEED=$(stty speed