diff --git a/docker-entrypoint b/docker-entrypoint index 54e4d05..7ef114f 100755 --- a/docker-entrypoint +++ b/docker-entrypoint @@ -67,7 +67,7 @@ term_handler() { trap 'kill $$; term_handler' SIGTERM if [ "$1" = "autoheal" ] -+then +then if [ -n "$UNIX_SOCK" ] && ! [ -S "$DOCKER_SOCK" ] then echo "unix socket is currently not available" >&2