mirror of
https://github.com/willfarrell/docker-autoheal.git
synced 2024-12-06 19:16:20 +01:00
Update docker-entrypoint
Don't exit 0 if there's an error. Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ if [ "$1" = "autoheal" ]
|
||||
if [ -n "$UNIX_SOCK" ] && ! [ -S "$DOCKER_SOCK" ]
|
||||
then
|
||||
echo "Connection problem"
|
||||
exit
|
||||
exit 1
|
||||
fi
|
||||
# Delayed startup
|
||||
if [ "$AUTOHEAL_START_PERIOD" -gt 0 ]
|
||||
|
||||
Reference in New Issue
Block a user