From: Richard Russon Date: Sun, 25 Mar 2018 09:50:02 +0000 (+0100) Subject: fix return code for 'neomutt -Z' X-Git-Tag: neomutt-20180512~83 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a30903eef60fce0e707ef9676bdd804379993187;p=neomutt fix return code for 'neomutt -Z' Fixes #1112 --- diff --git a/main.c b/main.c index 52a8d7965..c58df0135 100644 --- a/main.c +++ b/main.c @@ -532,8 +532,7 @@ int main(int argc, char **argv, char **env) } /* set defaults and read init files */ - rc = mutt_init(flags & MUTT_NOSYSRC, &commands); - if (rc != 0) + if (mutt_init(flags & MUTT_NOSYSRC, &commands) != 0) goto main_curses; /* The command line overrides the config */