mirror of
https://github.com/nabbar/golib.git
synced 2026-04-22 23:17:12 +08:00
Package Logger:
- Fix bug with Hookfile (counter opened file not store first call)
This commit is contained in:
@@ -252,6 +252,7 @@ func newAgg(p string, m os.FileMode, cre bool) (*fileAgg, error) {
|
||||
}
|
||||
|
||||
i.a = a
|
||||
i.i.Store(1)
|
||||
|
||||
return i, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user