Disable many "stupid" CLI options or some that will have better equivalents soon...
[apps/madmutt.git] / lib-ui / curs_lib.c
index 8e74153..2203672 100644 (file)
@@ -211,7 +211,7 @@ void mutt_query_exit (void)
     wtimeout (stdscr, -1);               /* restore blocking operation */
   if (mutt_yesorno (_("Exit Madmutt?"), M_YES) == M_YES) {
     mutt_endwin (NULL);
     wtimeout (stdscr, -1);               /* restore blocking operation */
   if (mutt_yesorno (_("Exit Madmutt?"), M_YES) == M_YES) {
     mutt_endwin (NULL);
-    exit (1);
+    mutt_exit(1);
   }
   mutt_clear_error ();
   mutt_curs_set (-1);
   }
   mutt_clear_error ();
   mutt_curs_set (-1);