Skip to content

Commit

Permalink
fixed bug for watch as a arg in entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Darshil shah committed Jan 22, 2023
1 parent b081725 commit a4e417c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -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 "$@"

0 comments on commit a4e417c

Please sign in to comment.