This is an automated email from the ASF dual-hosted git repository.

lizhanhui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new d81853f71 [ISSUE #5267] fix command line arguments parse error in 
mqbroker (#5269)
d81853f71 is described below

commit d81853f719ed133870ad4e1d48a2290b22083ee9
Author: lk <[email protected]>
AuthorDate: Tue Oct 11 15:04:09 2022 +0800

    [ISSUE #5267] fix command line arguments parse error in mqbroker (#5269)
---
 distribution/bin/mqbroker | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/distribution/bin/mqbroker b/distribution/bin/mqbroker
index 17e39f07c..a71f131f4 100644
--- a/distribution/bin/mqbroker
+++ b/distribution/bin/mqbroker
@@ -45,7 +45,7 @@ export ROCKETMQ_HOME
 other_args=" "
 enable_proxy=false
 
-while [[ $# -gt 0 ]]; do
+while [ $# -gt 0 ]; do
   case $1 in
     --enable-proxy)
       enable_proxy=true

Reply via email to