Update 99-run.sh

This commit is contained in:
Alexandre
2021-12-02 08:48:31 +01:00
committed by GitHub
parent 5e10378814
commit 550eed994b

View File

@@ -67,7 +67,7 @@ bashio::log.info "Starting the app with the variables in /config/gazpar2mqtt"
eval parse_yaml "$CONFIGSOURCE" "" >listtmp
cat listtmp | while read word || [[ -n $word ]]; do
# Clean output
# word="${word//[\"\']/}"
word="${word//[\"\']/}"
# If secret, replace secret by text
if [[ "${word}" == *'!secret '* ]]; then
echo "Secret detected $word"