Update 99-run.sh

This commit is contained in:
Alexandre
2021-12-02 22:14:04 +01:00
committed by GitHub
parent 4784179226
commit 1764528aa1

View File

@@ -71,6 +71,7 @@ do
line=${line//[\"\']/}
# Check if secret
if [[ "${line}" == *'!secret '* ]]; then
echo "secret detected"
secret=${line#*secret }
# Check if single match
[[ "$(sed -n "/$secret:/=" /config/secrets.yaml)" == *' '* ]] && bashio::log.fatal "There are multiple matches for your password name. Please check your secrets.yaml file" && continue