mutt/2134: Mutt does not use different exit-codes depending on whatever
>Number: 2134
>Notify-List:
>Category: mutt
>Synopsis: Mutt does not use different exit-codes depending on whatever
>Confidential: no
>Severity: normal
>Priority: medium
>Responsible: mutt-dev
>State: open
>Keywords:
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Nov 10 17:56:59 +0100 2005
>Originator: Sven Utcke
>Release: 1.4.1i
>Organization:
>Environment:
>Description:
Hi,
I'm using mutt inside a script where glimpse selects messages from
various mailboxes and assembles them all in a temporary mailbox.
However, sometimes glimpse doesn't get it quite right, and mutt will
report:
/tmp/glimpse.21144/mboxfind.results is not a mailbox.
Which, indeed, it isn't. However, my script will never know about
this, since mutt returns 0 as its exit code anyway, and happily delete
the file instead of doing something useful.
So, in short, I would really ask for different exit codes for mutt, at
least for the above case, but quite possibly for some other cases too
(everytime mutt exits even though I didn't ask it to exit, I guess...)
Help very much appreciated
Sven
>How-To-Repeat:
>Fix:
Unknown
>Add-To-Audit-Trail:
>Unformatted: