Closed leonyu closed 5 years ago
Sounds like a possible duplicate of #3325 for luci-app-fwknopd, but that bug was supposed to be fixed in January.
The missing quotation marks is causing the unknown operator, but only when the key variables are empty. This is essentially harmless noise, but for correctness I'll add the quotation marks as suggested.
Pull request to fix this is over at https://github.com/openwrt/luci/pull/1393
This was fixed in https://github.com/openwrt/luci/pull/1393 and was merged so I will close this
Maintainer: @jp-bennett Environment: LEDE 17.01.2 on Linksys WRT1900AC
Description:
When opening the LuCI config page for
fwknopd
, following error is produced:It appears the error originate from
/usr/sbin/gen-qr.sh
, as I am able to get the same error running that shell script in a terminal.I think the
unknown operand
error is caused missing quotes in theif
statement:if [ $key_base64 != "" ]; then
vsif [ "$key_base64" != "" ]; then
.I am not sure what causes
Entry not found
error.