]> granicus.if.org Git - mutt/commitdiff
Display an error message when delete mailbox fails. (see #3968)
authorKevin McCarthy <kevin@8t8.us>
Wed, 20 Sep 2017 17:43:33 +0000 (10:43 -0700)
committerKevin McCarthy <kevin@8t8.us>
Wed, 20 Sep 2017 17:43:33 +0000 (10:43 -0700)
browser.c

index 43546cf3bc5bd5024370139ad3c2b3cf9e5b98f5..d39f9e181966e7daba10c6ade07049d530f8dcd7 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -1014,6 +1014,8 @@ void _mutt_select_file (char *f, size_t flen, int flags, char ***files, int *num
              mutt_message _("Mailbox deleted.");
              init_menu (&state, menu, title, sizeof (title), buffy);
            }
+            else
+              mutt_error _("Mailbox deletion failed.");
          }
          else
            mutt_message _("Mailbox not deleted.");