fix: 修复守护提示丢失问题

This commit is contained in:
Mmx
2021-09-19 23:30:36 +08:00
parent fd7838dbd3
commit 4fb3d933b2

View File

@@ -41,7 +41,7 @@ func Guardian(output bool) {
}
func EnterGuardian() {
if global.Config.Settings.Guardian != 0 {
global.Status.Output = true
global.Status.Guardian = true
util.Log.Println("[Guardian mode]")
if global.Config.Settings.Daemon {
@@ -52,5 +52,4 @@ func EnterGuardian() {
return
}
Guardian(true)
}
}