Explorar o código

更新脚本 3

wuweihao %!s(int64=3) %!d(string=hai) anos
pai
achega
95f4fe649b
Modificáronse 1 ficheiros con 4 adicións e 5 borrados
  1. 4 5
      run.sh

+ 4 - 5
run.sh

@@ -46,19 +46,18 @@ restartApp(){
 case $APP_ORDER in
     "start")
         startApp
-		exit 0
+
         ;;
     "stop")
         stopApp
-		exit 1
+
         ;;
 	"restart")
 		restartApp
-		exit 2
+
 	;;
     *)
-     echo "Unknown inupt!"
-     exit 3
+
      ;;
 esac