mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 07:28:10 +01:00
Fix fatal erroring in addon startup script (#3244)
This commit is contained in:
parent
e73d47918f
commit
dbd4e927d8
1 changed files with 2 additions and 2 deletions
|
@ -7,12 +7,12 @@
|
||||||
# Check SSL requirements, if enabled
|
# Check SSL requirements, if enabled
|
||||||
if bashio::config.true 'ssl'; then
|
if bashio::config.true 'ssl'; then
|
||||||
if ! bashio::config.has_value 'certfile'; then
|
if ! bashio::config.has_value 'certfile'; then
|
||||||
bashio::fatal 'SSL is enabled, but no certfile was specified.'
|
bashio::log.fatal 'SSL is enabled, but no certfile was specified.'
|
||||||
bashio::exit.nok
|
bashio::exit.nok
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! bashio::config.has_value 'keyfile'; then
|
if ! bashio::config.has_value 'keyfile'; then
|
||||||
bashio::fatal 'SSL is enabled, but no keyfile was specified'
|
bashio::log.fatal 'SSL is enabled, but no keyfile was specified'
|
||||||
bashio::exit.nok
|
bashio::exit.nok
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue