]> granicus.if.org Git - neomutt/commitdiff
mbox: quieten probing
authorRichard Russon <rich@flatcap.org>
Fri, 4 Jan 2019 00:36:38 +0000 (00:36 +0000)
committerRichard Russon <rich@flatcap.org>
Fri, 4 Jan 2019 01:18:26 +0000 (01:18 +0000)
mbox/mbox.c

index e78821601f8ac89446efa554403c690e5f6d1bde..1860582dd2249df54c1b880baee00cd1a418a7e5 100644 (file)
@@ -1636,10 +1636,7 @@ enum MailboxType mbox_path_probe(const char *path, const struct stat *st)
     return MUTT_UNKNOWN;
 
   if (S_ISDIR(st->st_mode))
-  {
-    mutt_error("%s is not a mailbox", path);
     return MUTT_UNKNOWN;
-  }
 
   if (st->st_size == 0)
     return MUTT_MBOX;