优化代码

This commit is contained in:
zlt
2019-02-24 22:52:16 +08:00
parent 06b83b82ea
commit c3aa93d3cd
6 changed files with 3 additions and 10 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ error_exit ()
[ ! -e "$JAVA_HOME/bin/java" ] && JAVA_HOME=/opt/taobao/java
[ ! -e "$JAVA_HOME/bin/java" ] && error_exit "Please set the JAVA_HOME variable in your environment, We need java(x64)! jdk8 or later is better!"
export MODE="standalone"
export MODE="cluster"
while getopts ":m:" opt
do
case $opt in