summarylogtreecommitdiffstats
path: root/clamassassin-clamd.patch
diff options
context:
space:
mode:
authorJohn Lane2015-06-12 16:31:43 +0100
committerJohn Lane2015-06-12 16:31:43 +0100
commitecb8f817baee9ddc8941632a22c9c0663b9ef9f6 (patch)
tree58f2bdecd56ff39de488cf4fd207c680ae44c966 /clamassassin-clamd.patch
parent45c618e40475cb1d4dc0ff7aa6a81c479be23725 (diff)
downloadaur-clamassassin.tar.gz
Patched to avoid email corruption when clamd not running
Diffstat (limited to 'clamassassin-clamd.patch')
-rw-r--r--clamassassin-clamd.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/clamassassin-clamd.patch b/clamassassin-clamd.patch
new file mode 100644
index 000000000000..8963ed09d06d
--- /dev/null
+++ b/clamassassin-clamd.patch
@@ -0,0 +1,11 @@
+--- clamassassin 2015-06-12 15:53:34.363051744 +0100
++++ clamassassin 2015-06-12 15:53:44.202174454 +0100
+@@ -132,7 +132,7 @@
+ bailiferr $?
+
+ # Set version header string
+-CLAMVERS=`${CLAMSCAN} -V --stdout`
++CLAMVERS=`${CLAMSCAN} -V --stdout | tail -1`
+
+ if [ ${ADDSCANNERFLAG} != 0 ]
+ then