diff --git a/internal/files/trash.go b/internal/files/trash.go index 77c349a..d2d0436 100644 --- a/internal/files/trash.go +++ b/internal/files/trash.go @@ -85,6 +85,7 @@ func FindTrash(trashdir, ogdir string, f *filter.Filter) (files Files, outerr er info, err := os.Stat(trashedpath) if err != nil { log.Errorf("error reading %s: %s", trashedpath, err) + return nil } s := s.Key(trash_info_date).Value()