Fixed oopsie

Fixed error with Legacy options menu
This commit is contained in:
Bram Prieshof
2020-07-23 10:59:58 +02:00
parent 721b191471
commit 7748499beb

View File

@@ -324,7 +324,7 @@ topt=${opt//+/}
topt="${topt%"${topt##*[![:space:]]}"}" topt="${topt%"${topt##*[![:space:]]}"}"
topt=\"$topt\" topt=\"$topt\"
option=${option//"$topt"/} option=${option//"$topt"/}
unset $topt unset topt
else else
opts[choice]=+ opts[choice]=+
opt="${opt%"${opt##*[![:space:]]}"}" opt="${opt%"${opt##*[![:space:]]}"}"