From 8d45f4718da3b8a57208f72fc58d17383a8f8012 Mon Sep 17 00:00:00 2001 From: David Levine Date: Sun, 17 Jun 2012 22:56:23 -0500 Subject: [PATCH] Removed possible tmp file leak. --- uip/mhmail | 1 + 1 file changed, 1 insertion(+) diff --git a/uip/mhmail b/uip/mhmail index 31a21d4..6e03f15 100755 --- a/uip/mhmail +++ b/uip/mhmail @@ -210,6 +210,7 @@ else else printf "Letter saved in dead.letter\n" #### exec skips the trap set above. + [ "${tmpfileresent}" ] && rm -f "${tmpfileresent}" exec mv "${tmpfile}" dead.letter fi fi -- 1.7.10.4