Skip to content

Commit

Permalink
🚑 Fix service available check
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Feb 21, 2020
1 parent d2adc84 commit b4b61fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b4b61fb

Please sign in to comment.