mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-05 09:00:20 +00:00
🐛 修复 WebSSH 连接断开后遗留僵尸进程
This commit is contained in:
1 parent
a25a1b128d
commit
7422de1269
4 files changed
+49
-11
No files matched your search
@@ -64,7 +64,9 @@ func GetHost() *model.Host {
|
||||
swapMemTotal = mv.SwapTotal
|
||||
}
|
||||
|
||||
cachedBootTime = time.Unix(int64(hi.BootTime), 0)
|
||||
if cachedBootTime.IsZero() {
|
||||
cachedBootTime = time.Unix(int64(hi.BootTime), 0)
|
||||
}
|
||||
|
||||
return &model.Host{
|
||||
Platform: hi.OS,
|
||||
|
||||
Reference in new issue
Block a user