From 6ec502e3715c7864a0fc5de3988479dfc6f1fdd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Mon, 2 Nov 2015 18:09:41 +0100 Subject: [PATCH] Fixed exim-gen-cert not to output error on success --- exim-gen-cert | 4 ++-- exim.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/exim-gen-cert b/exim-gen-cert index 811efda..dbcd26e 100644 --- a/exim-gen-cert +++ b/exim-gen-cert @@ -22,11 +22,11 @@ ${FQDN} root@${FQDN} EOF if [ $? -eq 0 ]; then - success + echo success chown exim.exim /etc/pki/tls/{private,certs}/exim.pem chmod 600 /etc/pki/tls/{private,certs}/exim.pem else - failure + echo failure fi echo fi diff --git a/exim.spec b/exim.spec index edf66f6..4d2aa60 100644 --- a/exim.spec +++ b/exim.spec @@ -18,7 +18,7 @@ Summary: The exim mail transfer agent Name: exim Version: 4.86 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Url: http://www.exim.org/ Group: System Environment/Daemons @@ -637,6 +637,9 @@ test "$1" = 0 || %{_initrddir}/clamd.exim condrestart >/dev/null 2>&1 || : %{_sysconfdir}/cron.daily/greylist-tidy.sh %changelog +* Mon Nov 2 2015 Jaroslav Škarvada - 4.86-3 +- Fixed exim-gen-cert not to output error on success + * Fri Sep 18 2015 Jaroslav Škarvada - 4.86-2 - Hardened build, rebuilt with the full RELRO (only the daemon)