mirror of
https://github.com/beego/bee.git
synced 2024-11-05 17:00:53 +00:00
fix
This commit is contained in:
parent
8782cff9f7
commit
3909cd7273
@ -244,6 +244,7 @@ func UpdateSelf() {
|
||||
} else {
|
||||
if cf, err := os.OpenFile(fp, os.O_CREATE, 0644); err == nil {
|
||||
cf.Close()
|
||||
} else {
|
||||
beeLogger.Log.Warnf("Create file err: %s", err)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user