boot(8): fix null list in concatenation error for ! input
This commit is contained in:
parent
e7d3e20912
commit
1ac9d6ab0e
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue