mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +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.ok/return 0/g" "$SERVICE"
|
||||
# shellcheck disable=SC1090
|
||||
source "$SERVICE" || echo -e "\033[0;31mError\033[0m : $SERVICE exiting $?"
|
||||
source "$SERVICE" || echo -e "\033[0;31mError\033[0m : $SERVICE exiting $?" & true
|
||||
else
|
||||
"$SERVICE" || echo -e "\033[0;31mError\033[0m : $SERVICE exiting $?"
|
||||
"$SERVICE" || echo -e "\033[0;31mError\033[0m : $SERVICE exiting $?" & true
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
|
||||
Reference in New Issue
Block a user