From a4e417c41fb7493b2cf5b965cc3c564705816e16 Mon Sep 17 00:00:00 2001 From: Darshil shah Date: Sun, 22 Jan 2023 14:34:13 +0530 Subject: [PATCH] fixed bug for watch as a arg in entrypoint.sh --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index b7759b54..a08cae1d 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,5 @@ #!/bin/bash -if [[ $# -lt 1 ]] || [[ "$1" == "--"* ]] || [[ ! -x $(command -v "$1") ]]; then +if [[ $# -lt 1 ]] || [[ "$1" == "--"* ]] || [[ ! -x $(command -v "$1") ]] || [[ "$1" == "watch" ]]; then exec /bin/clickhouse-backup "$@" fi exec "$@"