fix: 去除守护模式重复的网络检查

This commit is contained in:
Mmx
2021-09-19 23:35:05 +08:00
parent 005e7953ad
commit 12e9b00324
3 changed files with 9 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ func main() {
if global.Config.Settings.Guardian != 0 {
controllers.EnterGuardian()
} else if err := controllers.Login(true); err != nil {
} else if err := controllers.Login(true, false); err != nil {
util.Log.Println("运行出错,状态异常")
if global.Config.Settings.DemoMode {
util.Log.Fatalln(err)