允许附加参数为空

This commit is contained in:
Ing 2025-03-11 18:32:49 +08:00
parent 5a1ff80670
commit d39f800863

View File

@ -655,7 +655,7 @@ function addonMenu() {
2>"${TMP_PATH}/resp"
[ $? -ne 0 ] && continue
resp="$(cat "${TMP_PATH}/resp" 2>/dev/null)"
[ -z "${resp}" ] && continue
# [ -z "${resp}" ] && continue # Addons params can be empty
VALUE="${resp}"
else
VALUE=""