Update 99-run.sh

This commit is contained in:
Alexandre
2021-11-13 16:47:04 +01:00
committed by GitHub
parent f63e769dfa
commit 06bd7ff2a6

View File

@@ -57,7 +57,7 @@ sed -i 's|"||g' $CONFIGSOURCE
for word in $(cat $CONFIGSOURCE); do
# Data validation
if [[ $word =~ ^.+[=].+$ ]]; then
export "$word" # Export the variable
export $word # Export the variable
bashio::log.info "... $word"
else
bashio::log.fatal "$word does not follow the structure KEY=text, it will be ignored and removed from the config"