well,
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s

This commit is contained in:
hogweed1
2026-11-10 21:24:58 +10:00
parent fd331d79a0
commit 4723a5483b

View File

@@ -14,7 +14,7 @@
# Если родитель PID 1 — уничтожаем
if [ "$(ps -o ppid= -p "$pid" 2>/dev/null | tr -d ' ')" -eq 1 ]; then
kill -9 "$pid" 2>/dev/null
fi || true
fi
done
pgrep -f gitstatusd | while read -r pid; do
# Пропускаем себя, чтобы не убить текущую сессию
@@ -25,7 +25,7 @@
# Если родитель PID 1 — уничтожаем
if [ "$(ps -o ppid= -p "$pid" 2>/dev/null | tr -d ' ')" -eq 1 ]; then
kill -9 "$pid" 2>/dev/null
fi || true
fi
done
)