Update 00-global_var.sh

This commit is contained in:
Alexandre
2022-02-15 20:02:02 +01:00
committed by GitHub
parent 54bd793905
commit 8f4ad8b24a

View File

@@ -16,7 +16,7 @@ for KEYS in ${arr[@]}; do
VALUE=$(jq ."$KEYS" ${JSONSOURCE})
line="${KEYS}=${VALUE//[\"\']/}"
# Use locally
if bashio::config.false "verbose" || [[ "$line" == *"PASS"* ]]; then
if [[ bashio::config.false "verbose" || "${KEYS}" == *"PASS"* ]]; then
bashio::log.blue "${KEYS}=******redacted******"
else
bashio::log.blue "$line"