🚑 Fixes bug in config item exists check

This commit is contained in:
Franck Nijhof 2019-03-14 20:36:20 +01:00
parent d0530883f4
commit d260a5180c
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -65,7 +65,7 @@ function bashio::config.exists() {
bashio::log.trace "${FUNCNAME[0]}:" "$@"
if [[ $(bashio::config ".${key}") != "null" ]]; then
if [[ $(bashio::config "${key}") == "null" ]]; then
return "${__BASHIO_EXIT_NOK}"
fi