1
0
mirror of https://github.com/beego/bee.git synced 2024-11-05 17:00:53 +00:00
This commit is contained in:
wangle 2020-07-26 21:32:54 +08:00
parent 8782cff9f7
commit 3909cd7273

View File

@ -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)
}
}