This is an automated email from the ASF dual-hosted git repository. kxiao pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 9b6dd8118f796f12507475f42ba0da634c36e0f0 Author: Dongyang Li <hello_step...@qq.com> AuthorDate: Thu Sep 21 19:57:43 2023 +0800 [fix](start_be) ignore output from command -v (#24739) --- bin/start_be.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/start_be.sh b/bin/start_be.sh index b527ca0069..a78c9af447 100755 --- a/bin/start_be.sh +++ b/bin/start_be.sh @@ -142,7 +142,7 @@ jdk_version() { local result local IFS=$'\n' - if ! command -v "${java_cmd}"; then + if ! command -v "${java_cmd}" >/dev/null; then echo "ERROR: invalid java_cmd ${java_cmd}" >>"${LOG_DIR}/be.out" result=no_java return 1 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org