diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-21 03:42:13 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-21 03:42:13 +0000 |
commit | 1ac9d6ab0e2100fc395af4813b6283e009fd739f (patch) | |
tree | 8e294acc599b80f29c7868a0378d21c9adfa53f3 /sys/src/9/boot/bootrc | |
parent | e7d3e20912baa82965108997013710223152772c (diff) |
boot(8): fix null list in concatenation error for ! input
Diffstat (limited to 'sys/src/9/boot/bootrc')
-rw-r--r-- | sys/src/9/boot/bootrc | 4 |
1 files changed, 2 insertions, 2 deletions
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) } } |