adonis0147 commented on code in PR #10691: URL: https://github.com/apache/doris/pull/10691#discussion_r916438848
########## bin/stop_be.sh: ########## @@ -23,7 +23,7 @@ export DORIS_HOME=`cd "$curdir/.."; pwd` export PID_DIR=`cd "$curdir"; pwd` signum=9 -if [ $1 = "--grace" ]; then +if [ $# -gt 0 ] && [ $1 = "--grace" ]; then Review Comment: ```suggestion if [[ "$1" == "--grace" ]]; then ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org