mirror of
https://github.com/YuleBest/LuminPro.git
synced 2026-12-04 00:54:42 +08:00
feat: upgrade to V2.4, add compatibility mode and fix stale lock issues
This commit is contained in:
1 parent
86ca5f382f
commit
f2c489e3d6
4 files changed
+14
-5
No files matched your search
@@ -63,6 +63,7 @@ if [ -f "$lock_file" ]; then
|
||||
exit 0
|
||||
fi
|
||||
# PID 不存在,说明是遗留的锁,清理之
|
||||
_log "检测到遗留的锁文件 (PID: $old_pid 不存在),已自动清除" "WARN"
|
||||
rm -f "$lock_file"
|
||||
fi
|
||||
echo $$ >"$lock_file"
|
||||
|
||||
Reference in new issue
Block a user