From 8e01ab8578565145d192f68c545deb63dcb0454b Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 12 Aug 2023 15:51:26 +0800 Subject: [PATCH] update error message Signed-off-by: adam --- scripts/get-helm-3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get-helm-3 b/scripts/get-helm-3 index 2207ab626..a6eb8a09e 100755 --- a/scripts/get-helm-3 +++ b/scripts/get-helm-3 @@ -263,7 +263,7 @@ testVersion() { set +e HELM="$(command -v $HELM_INSTALL_DIR/$BINARY_NAME)" if [ "$?" = "1" ]; then - echo "$BINARY_NAME not found. Is $HELM_INSTALL_DIR on your "'$PATH?' + echo "$BINARY_NAME not found or can not be executed" exit 1 fi set -e