mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
allow removal of log if non verbose
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user