projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reworked test-rcvdist so that it sees the output of post.
[mmh]
/
uip
/
mhmail
diff --git
a/uip/mhmail
b/uip/mhmail
index
bfcfe89
..
945767a
100755
(executable)
--- a/
uip/mhmail
+++ b/
uip/mhmail
@@
-272,10
+272,10
@@
Nmh-Attachment: ${arg}
if "${post_or_send}" "${tmpfile}" ${postsendargs}; then
exit
else
if "${post_or_send}" "${tmpfile}" ${postsendargs}; then
exit
else
+ status=$?
+ mv -f "${tmpfile}" dead.letter
printf "Letter saved in dead.letter\n"
printf "Letter saved in dead.letter\n"
- #### exec skips the trap set above.
- [ "${tmpfileresent}" ] && rm -f "${tmpfileresent}"
- exec mv "${tmpfile}" dead.letter
+ exit $status
fi
fi
fi
fi
fi
fi