fix: 非debug模式不创建日志目录

This commit is contained in:
Mmx233
2022-03-02 22:54:01 +08:00
parent bef90ef4d7
commit a99cdfabd0
2 changed files with 7 additions and 5 deletions

View File

@@ -16,7 +16,6 @@ func main() {
); e != nil {
log.Fatalln("初始化日志失败: ", e)
}
defer util.Log.CatchRecover()
if global.Flags.RunningDaemon {
//后台挂起模式中