diff --git a/examples/common/env.sh b/examples/common/env.sh index 51d0fcb6487..39b29de261d 100644 --- a/examples/common/env.sh +++ b/examples/common/env.sh @@ -32,7 +32,10 @@ done; # vtctldclient has a separate alias setup below for binary in vttablet vtgate vtctld mysqlctl vtorc vtctl; do - alias $binary="$binary --config-file-not-found-handling=ignore" + $binary --version | grep -q "19\.[0-9]*\.[0-9]*" + if [[ "$?" -eq "0" ]]; then + alias $binary="$binary --config-file-not-found-handling=ignore" + fi done; if [ "${TOPO}" = "zk2" ]; then