🚑 Fixes incorrect exit code when InfluxDB export is disabled

This commit is contained in:
Franck Nijhof 2019-04-01 22:01:25 +02:00
parent 7a32506771
commit c7cc71dd31
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -4,7 +4,7 @@
# Export Glances data to InfluxDB # Export Glances data to InfluxDB
# ============================================================================== # ==============================================================================
if bashio::config.false 'influxdb.enabled'; then if bashio::config.false 'influxdb.enabled'; then
exit "${EX_OK}" exit 0
fi fi
# Modify the configuration # Modify the configuration