mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-06 20:11:24 +00:00
🚑 Fix service available check
This commit is contained in:
parent
d2adc84339
commit
b4b61fb4f7
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue