quilt/mail-fix-a-temporary-directory-leak.patch

21 lines
434 B
Diff
Raw Normal View History

From de13f097662d785863f52c1cdaca125cebfe40d2 Mon Sep 17 00:00:00 2001
From: Jean Delvare <jdelvare@suse.de>
Date: Sun, 06 Feb 2011 17:22:20 +0000
Subject: quilt mail: Fix a temporary directory leak.
---
diff --git a/quilt/mail.in b/quilt/mail.in
index a2cf2d5..d16b3c1 100644
--- a/quilt/mail.in
+++ b/quilt/mail.in
@@ -350,6 +350,7 @@ then
if [ -z "$subject" ]
then
+ rm -rf $tmpdir
return 1
fi
--
cgit v0.8.3.4