mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-08 04:44:53 +01:00
Update ha_entrypoint.sh
This commit is contained in:
@@ -90,9 +90,9 @@ done
|
|||||||
sed -i "s/bashio::exit.nok/return 1/g" "$SERVICE"
|
sed -i "s/bashio::exit.nok/return 1/g" "$SERVICE"
|
||||||
sed -i "s/bashio::exit.ok/return 0/g" "$SERVICE"
|
sed -i "s/bashio::exit.ok/return 0/g" "$SERVICE"
|
||||||
# shellcheck disable=SC1090
|
# shellcheck disable=SC1090
|
||||||
source "$SERVICE" || echo -e "\033[0;31mError\033[0m : $SERVICE exiting $?" & true
|
/."$SERVICE" & true || echo -e "\033[0;31mError\033[0m : $SERVICE exiting $?"
|
||||||
else
|
else
|
||||||
"$SERVICE" || echo -e "\033[0;31mError\033[0m : $SERVICE exiting $?" & true
|
"$SERVICE" & true || echo -e "\033[0;31mError\033[0m : $SERVICE exiting $?"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
|||||||
Reference in New Issue
Block a user