fix: 修复守护提示丢失问题
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user