fix: 修复守护提示丢失问题
This commit is contained in:
@@ -41,7 +41,7 @@ func Guardian(output bool) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func EnterGuardian() {
|
func EnterGuardian() {
|
||||||
if global.Config.Settings.Guardian != 0 {
|
global.Status.Output = true
|
||||||
global.Status.Guardian = true
|
global.Status.Guardian = true
|
||||||
util.Log.Println("[Guardian mode]")
|
util.Log.Println("[Guardian mode]")
|
||||||
if global.Config.Settings.Daemon {
|
if global.Config.Settings.Daemon {
|
||||||
@@ -52,5 +52,4 @@ func EnterGuardian() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
Guardian(true)
|
Guardian(true)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user