From bf473bad87cd484b3ac9efb3b24f4021873e67cf Mon Sep 17 00:00:00 2001 From: vet Date: Mon, 13 Apr 2026 23:31:38 +0700 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stop-frontend.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stop-frontend.sh b/stop-frontend.sh index 7dc27b7..5ef7996 100755 --- a/stop-frontend.sh +++ b/stop-frontend.sh @@ -17,7 +17,8 @@ FE_PROJECTS=(pc meetingh5 h5 cms build-cms build-down) TARGET="${1:-all}" _stop_fe() { - local name="$1" pidfile="$PID_DIR/fe-${name}.pid" + local name="$1" + local pidfile="$PID_DIR/fe-${name}.pid" if [[ -f "$pidfile" ]]; then local pid; pid=$(cat "$pidfile") if kill -0 "$pid" 2>/dev/null; then