diff options
author | Brendan Cully <brendan@kublai.com> | 2005-09-03 23:22:30 +0000 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2005-09-03 23:22:30 +0000 |
commit | 83bbf497dba54933f8d7832befb25ddf8291bbb8 (patch) | |
tree | f63e8ef116d3ef064fb6edebf05ea70d9018f405 /attach.c | |
parent | 6c0689ac25e1ea94c614b5435ddf1dad9c80a5fd (diff) |
Note when mutt_edit_attachment fails and display error instead of prompting
to abort an unmodified file. Closes: #2051.
Diffstat (limited to 'attach.c')
-rw-r--r-- | attach.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -256,12 +256,16 @@ int mutt_edit_attachment (BODY *a) { /* For now, editing requires a file, no piping */ mutt_error _("Mailcap Edit entry requires %%s"); + goto bailout; } else { mutt_endwin (NULL); if (mutt_system (command) == -1) + { mutt_error (_("Error running \"%s\"!"), command); + goto bailout; + } } } } |