Update 99-run.sh

This commit is contained in:
Alexandre
2021-11-14 11:35:00 +01:00
committed by GitHub
parent 6f0858b76f
commit c3a4ae74c1

View File

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