diff --git a/internal/versioner/simple.go b/internal/versioner/simple.go index 83318b64..e51575fe 100644 --- a/internal/versioner/simple.go +++ b/internal/versioner/simple.go @@ -55,7 +55,7 @@ func NewSimple(folderID, folderPath string, params map[string]string) Versioner // Move away the named file to a version archive. If this function returns // nil, the named file does not exist any more (has been archived). func (v Simple) Archive(filePath string) error { - fileInfo, err := os.Stat(filePath) + fileInfo, err := os.Lstat(filePath) if err != nil { if os.IsNotExist(err) { if debug {