diff --git a/file.go b/file.go index ab7b49c..e956a7f 100644 --- a/file.go +++ b/file.go @@ -262,7 +262,7 @@ func (*GuluFile) copyFile(source, dest string, chtimes bool) (err error) { } defer destfile.Close() - sourceinfo, err := os.Stat(source) + sourceinfo, err := os.Lstat(source) if nil != err { return }