Skip to content

Commit caed34f

Browse files
binfenshengdaihuojw
and
huojw
authored
[Bug] Fix comparison expression issue (#4327)
Co-authored-by: huojw <[email protected]>
1 parent e10d94d commit caed34f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/bin/auto.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ PID_FILE="dinky.pid"
164164
# Log configuration file path
165165
LOG_CONFIG=${APP_HOME}/config/log4j2.xml
166166

167-
if [ ${JAVA_VERSION} == "1.8" ];then
167+
if [ ${JAVA_VERSION} = "1.8" ];then
168168
# JVM options G1GC and OOM dump ; Note: Do not set the DisableExplicitGC parameter. Because there is a call to System. gc() in the code.
169169
GC_OPT="-XX:+UseG1GC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintHeapAtGC -XX:+PrintGCCause -Xloggc:${APP_HOME}/logs/gc-%t.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=20M"
170170
else

0 commit comments

Comments
 (0)