wangwei 7 năm trước cách đây
mục cha
commit
ac72c402a5
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  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