diff --git a/kernel/model/mount.go b/kernel/model/mount.go index c7b8f942e..988f530e6 100644 --- a/kernel/model/mount.go +++ b/kernel/model/mount.go @@ -165,8 +165,10 @@ func Mount(boxID string) (alreadyMount bool, err error) { } avDirPath := filepath.Join(util.WorkingDir, "guide", boxID, "storage", "av") - if err = filelock.Copy(avDirPath, filepath.Join(util.DataDir, "storage", "av")); nil != err { - return + if filelock.IsExist(avDirPath) { + if err = filelock.Copy(avDirPath, filepath.Join(util.DataDir, "storage", "av")); nil != err { + return + } } if box := Conf.Box(boxID); nil != box {