From 8c5c3705835018e8888105659cbf5f8bcf62bacd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=95=B8=E9=9D=9E?= <13281114856@qq.com> Date: Sat, 7 Jan 2023 16:07:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=89=8D=E7=AB=AF=E7=94=9F?= =?UTF-8?q?=E6=88=90=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appbuild-manager/src/main/bin/shutdown.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appbuild-manager/src/main/bin/shutdown.sh b/appbuild-manager/src/main/bin/shutdown.sh index 7e3b132..5c7cef8 100644 --- a/appbuild-manager/src/main/bin/shutdown.sh +++ b/appbuild-manager/src/main/bin/shutdown.sh @@ -18,14 +18,14 @@ writelog() { if [ ! -n "$PORT" ]; then writelog $"Usage: $0 {port}" - exit $FAIL + exit 9 fi pid=`ps ax | grep -i "$MAIN_CLASS" | grep java | grep -v grep | awk '{print $1}'` if [ -z "$pid" ] ; then writelog "No Server running." - #exit 0; + exit 0; fi writelog "stoping application $PROJECT_NAME......" -- 2.24.3