From 3909cd727341c5bd16c42e5b2c5b58e4bc53a8e7 Mon Sep 17 00:00:00 2001 From: wangle <285273592@qq.com> Date: Sun, 26 Jul 2020 21:32:54 +0800 Subject: [PATCH] fix --- internal/app/module/beegopro/util.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/app/module/beegopro/util.go b/internal/app/module/beegopro/util.go index f6f7b06..c4aaf58 100644 --- a/internal/app/module/beegopro/util.go +++ b/internal/app/module/beegopro/util.go @@ -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) } }