Skip to content

Commit cd56727

Browse files
authored
[Fix-4327] Fix comparison expression issue (#4335)
1 parent f77c501 commit cd56727

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/bin/auto.sh

Lines changed: 1 addition & 1 deletion
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)