aboutsummaryrefslogtreecommitdiffstats
path: root/community/heirloom-mailx/mailx-12.5-collect.patch
blob: b84d2e8f3657eeeddef415e473c3bc157102c13e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- mailx-12.4.orig/collect.c	2012-09-12 16:07:53.653103796 -0400
+++ mailx-12.4/collect.c	2012-09-12 21:27:05.092259236 -0400
@@ -905,7 +905,9 @@ err:
 	if (collf != NULL) {
 		Fclose(collf);
 		collf = NULL;
-	}
+	} else {
+        exit(1);
+    }
 out:
 	if (collf != NULL) {
 		if ((cp = value("MAILX_TAIL")) != NULL) {