wangwei 7 anni fa
parent
commit
ac72c402a5
1 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  1. 0 5
      examcloud-core-basic-starter/shell/start.sh

+ 0 - 5
examcloud-core-basic-starter/shell/start.sh

@@ -16,11 +16,6 @@ if [ ! -z "$PID_LIST" ]; then
     exit -1
 fi
     
-if [ -z "$1" ]; then
-    echo "[ERROR] :first param must be ['dev','test','prod']"
-    exit -1
-fi
-
 if [ ! -z "$1" ]; then
   nohup java $JAVA_OPTS -jar $FILE_PATH/lib/$APP_MAIN_JAR --spring.profiles.active=$1 >/dev/null 2>&1 &
 else