allow removal of log if non verbose

This commit is contained in:
Alexandre
2021-12-20 09:31:57 +01:00
parent 1d5226befa
commit 5c1e878fd1
6 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ for KEYS in ${arr[@]}; do
VALUE=$(jq .$KEYS ${JSONSOURCE})
line="${KEYS}=${VALUE//[\"\']/}"
# Use locally
bashio::log.blue "$line"
if ! bashio::config.false "verbose"; then bashio::log.blue "$line"; fi
export $line
# Export the variable to run scripts
line="${KEYS}=${VALUE//[\"\']/} &>/dev/null"