👌 Remove else statement

This commit is contained in:
Paul Sinclair 2019-07-28 10:03:07 -04:00
parent 052974a750
commit cea4f882cd
No known key found for this signature in database
GPG key ID: 779C7A23E1AA845D

View file

@ -19,10 +19,9 @@ fi
# Export Glances data to InfluxDB
if bashio::config.true 'influxdb.enabled'; then
protocol='http'
if bashio::config.true 'influxdb.ssl'; then
protocol='https'
else
protocol='http'
fi
# Modify the configuration
{