Compare commits

...

3 Commits

Author SHA1 Message Date
juewuy
2a084019e2 Merge pull request #1240 from abcfy2/master
使用兼容性更强的 `rm -fr` 代替 `rm -d` 删除锁目录
2026-03-22 05:06:02 -07:00
Feng Yu
7f22bb550a 使用兼容性更强的 rm -fr 代替 rm -d 删除锁目录
Fix #1238
2026-03-22 19:32:07 +08:00
juewuy
0b7f7161b0 ~1.9.4release 2026-02-15 19:19:19 +08:00
4 changed files with 4 additions and 4 deletions

Binary file not shown.

View File

@@ -1,4 +1,4 @@
meta_v=v1.19.17 meta_v=v1.19.17
singboxr_v=1.13.0-alpha.27 singboxr_v=1.13.0-alpha.27
versionsh=1.9.4rc7.1 versionsh=1.9.4release
GeoIP_v=20251205 GeoIP_v=20251205

View File

@@ -10,7 +10,7 @@ if [ -f "$PIDFILE" ]; then
PID="$(cat "$PIDFILE")" PID="$(cat "$PIDFILE")"
if [ -n "$PID" ] && [ "$PID" -eq "$PID" ] 2>/dev/null; then if [ -n "$PID" ] && [ "$PID" -eq "$PID" ] 2>/dev/null; then
if kill -0 "$PID" 2>/dev/null || [ -d "/proc/$PID" ]; then if kill -0 "$PID" 2>/dev/null || [ -d "/proc/$PID" ]; then
rm -d "$LOCKDIR" 2>/dev/null rm -fr "$LOCKDIR" 2>/dev/null
exit 0 exit 0
fi fi
else else
@@ -27,4 +27,4 @@ else
start_legacy "$CRASHDIR/menus/bot_tg.sh" "$1" start_legacy "$CRASHDIR/menus/bot_tg.sh" "$1"
fi fi
rm -d "$LOCKDIR" 2>/dev/null rm -fr "$LOCKDIR" 2>/dev/null

View File

@@ -1 +1 @@
1.9.4rc7.1 1.9.4release