From 58712cde2610eaceb53e0d944ba55269ba8df21c Mon Sep 17 00:00:00 2001 From: nukedupe <82565629+nukedupe@users.noreply.github.com> Date: Fri, 16 Apr 2021 12:51:21 +0200 Subject: [PATCH] Update docker-entrypoint Don't exit 0 if there's an error. Co-authored-by: Philipp Schmitt --- docker-entrypoint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint b/docker-entrypoint index 6fbcee8..dec6a45 100755 --- a/docker-entrypoint +++ b/docker-entrypoint @@ -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 ]