diff options
Diffstat (limited to 'worker')
-rw-r--r-- | worker/maildir/container.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/maildir/container.go b/worker/maildir/container.go index 156b0af5..4181648b 100644 --- a/worker/maildir/container.go +++ b/worker/maildir/container.go @@ -81,7 +81,7 @@ func (c *Container) ListFolders() ([]string, error) { // Drop dirs that lack {new,tmp,cur} subdirs for _, sub := range []string{"new", "tmp", "cur"} { if _, err := os.Stat(filepath.Join(path, sub)); os.IsNotExist(err) { - return filepath.SkipDir + return nil } } |