Fixed exim-gen-cert not to output error on success

This commit is contained in:
Jaroslav Škarvada 2015-11-02 18:09:41 +01:00
parent d8c6103723
commit 6ec502e371
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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 <jskarvad@redhat.com> - 4.86-3
- Fixed exim-gen-cert not to output error on success
* Fri Sep 18 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 4.86-2
- Hardened build, rebuilt with the full RELRO (only the daemon)