This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new e772163b98 [fix](script) meet error on start_fe.sh(#9187)
e772163b98 is described below
commit e772163b981fcf295145ca1ecea9a3b53882e79c
Author: Pxl <[email protected]>
AuthorDate: Tue Apr 26 10:21:03 2022 +0800
[fix](script) meet error on start_fe.sh(#9187)
start_fe.sh: line 174: [: -eq: unary operator expected
---
bin/start_fe.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/start_fe.sh b/bin/start_fe.sh
index 02620f2e6b..2efacb071b 100755
--- a/bin/start_fe.sh
+++ b/bin/start_fe.sh
@@ -171,13 +171,13 @@ if [ x"$HELPER" != x"" ]; then
HELPER="-helper $HELPER"
fi
-if [ ${IMAGE_TOOL} -eq 1 ]; then
+if [[ ${IMAGE_TOOL} -eq 1 ]]; then
if [ ! -z ${IMAGE_PATH} ]; then
$LIMIT $JAVA $final_java_opt org.apache.doris.PaloFe -i ${IMAGE_PATH}
else
echo "Internal Error. USE IMAGE_TOOL like : ./start_fe.sh --image
image_path"
fi
-elif [ ${RUN_DAEMON} -eq 1 ]; then
+elif [[ ${RUN_DAEMON} -eq 1 ]]; then
nohup $LIMIT $JAVA $final_java_opt org.apache.doris.PaloFe ${HELPER} "$@"
>> $LOG_DIR/fe.out 2>&1 < /dev/null &
else
export DORIS_LOG_TO_STDERR=1
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]