diff --git a/distribution/src/bin/opensearch-plugin b/distribution/src/bin/opensearch-plugin index ed122e2184bec..61ca7e7258c7f 100755 --- a/distribution/src/bin/opensearch-plugin +++ b/distribution/src/bin/opensearch-plugin @@ -4,4 +4,4 @@ set -e -o pipefail OPENSEARCH_MAIN_CLASS=org.opensearch.plugins.PluginCli \ OPENSEARCH_ADDITIONAL_CLASSPATH_DIRECTORIES=lib/tools/plugin-cli \ - ./opensearch-cli "$@" + ./bin/opensearch-cli "$@"