From 1ac9d6ab0e2100fc395af4813b6283e009fd739f Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 21 May 2011 03:42:13 +0000 Subject: boot(8): fix null list in concatenation error for ! input --- sys/src/9/boot/bootrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/src/9/boot/bootrc') diff --git a/sys/src/9/boot/bootrc b/sys/src/9/boot/bootrc index baa76f238..4da39db38 100644 --- a/sys/src/9/boot/bootrc +++ b/sys/src/9/boot/bootrc @@ -57,9 +57,9 @@ fn main{ } if not bootargs=$nobootprompt mn=`{echo $bootargs | awk -F! '{print $1}'} - ma=`{echo $bootargs | sed 's/[^!]+!?//'} + ma=`{echo $bootargs | sed 's/[^!]*!?//'} for(i in `{seq 1 $#mt}){ - if(~ $mt($i) m^$mn) + if(~ $mt($i) m$"mn) mp=$$mt($i) } } -- cgit v1.2.3