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