👕 Fix shellcheck linter warning

This commit is contained in:
Franck Nijhof 2020-07-26 20:31:29 +02:00
parent fc5651a223
commit 348f8c2ec7
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -6,7 +6,8 @@ if [[ ! -d /share/promethus/targets ]] ; then
chown -R prometheus:prometheus /share/prometheus/targets
fi
cd /opt/prometheus-configgen
cd /opt/prometheus-configgen || bashio::exit.nok \
"Could not change working directory for prometheus-configgen."
# Run Prometheus
exec s6-setuidgid prometheus python3 combiner