Package: integrit
Version: 4.1
Severity: important
Tags: patch

Dear Maintainer,

Integrit ignores NEVER_EMAIL variable in its config file. The following
patch addresses the problem.

Regards, Alexander

-- 
Alexander Ufimtsev      Senior Systems Administrator
PGP: 0x41A2415F         HEAnet Ltd - https://www.heanet.ie
Tel: +353-1-6609040     Georges Dock, IFSC, Dublin 1
Fax: +353-1-6603666     Registered in Ireland, no 275301
--- integrit	2014-11-17 17:07:16.466451100 +0000
+++ integrit.new	2014-11-17 17:07:11.306325176 +0000
@@ -42,6 +42,7 @@
 
 done >>"$REPORT"
 
+test "$NEVER_EMAIL" = 'true' && exit 0
 test "$rc" -ne 0 || test "$ALWAYS_EMAIL" = 'true' || exit 0
 
 mail -s "$EMAIL_SUBJ" "$EMAIL_RCPT" <"$REPORT"

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to