🚑 Fix service available check

This commit is contained in:
Franck Nijhof 2020-02-21 12:34:19 +01:00
parent d2adc84339
commit b4b61fb4f7
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -76,7 +76,8 @@ function bashio::services.available() {
bashio::log.trace "${FUNCNAME[0]}:" "$@"
if ! bashio::services "${service}" > /dev/null 2>&1; then
if ! bashio::api.supervisor GET "/services/${service}" > /dev/null 2>&1;
then
return "${__BASHIO_EXIT_NOK}"
fi