diff --git a/nav.go b/nav.go index c140c837..397aab35 100644 --- a/nav.go +++ b/nav.go @@ -1424,7 +1424,7 @@ func (nav *nav) moveAsync(app *app, srcs []string, dstDir string) { file := filepath.Base(src) dst := filepath.Join(dstDir, file) - if dstStat, err := os.Stat(dst); err == nil { + if dstStat, err := os.Lstat(dst); err == nil { if os.SameFile(srcStat, dstStat) { sendErr("rename %s %s: source and destination are the same file", src, dst) continue