summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2012-10-11 06:57:09 +0000
committerFabian Groffen <grobian@gentoo.org>2012-10-11 06:57:09 +0000
commit62348e83bbd3710aadd8903a098c3d254905fe91 (patch)
tree04594277e8895a41ad1de0df451fbbd024a9d959 /mail-mta/exim
parentstable ppc64, bug #433235 (diff)
downloadgentoo-2-62348e83bbd3710aadd8903a098c3d254905fe91.tar.gz
gentoo-2-62348e83bbd3710aadd8903a098c3d254905fe91.tar.bz2
gentoo-2-62348e83bbd3710aadd8903a098c3d254905fe91.zip
Fix logrotate script not to fail when exim isn't running, by Anatoly, bug #437896.
(Portage version: 2.2.01.21165-prefix/cvs/Darwin i386)
Diffstat (limited to 'mail-mta/exim')
-rw-r--r--mail-mta/exim/ChangeLog6
-rw-r--r--mail-mta/exim/files/exim.logrotate2
2 files changed, 6 insertions, 2 deletions
diff --git a/mail-mta/exim/ChangeLog b/mail-mta/exim/ChangeLog
index ea8fcfc80c85..d61a1b7cc0c0 100644
--- a/mail-mta/exim/ChangeLog
+++ b/mail-mta/exim/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-mta/exim
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.225 2012/10/10 15:30:49 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.226 2012/10/11 06:57:09 grobian Exp $
+
+ 11 Oct 2012; Fabian Groffen <grobian@gentoo.org> files/exim.logrotate:
+ Fix logrotate script not to fail when exim isn't running, by Anatoly, bug
+ #437896.
10 Oct 2012; Brent Baude <ranger@gentoo.org> exim-4.80.ebuild:
Marking exim-4.80 ppc for bug 437746
diff --git a/mail-mta/exim/files/exim.logrotate b/mail-mta/exim/files/exim.logrotate
index 4a170d5212ad..9961563f2749 100644
--- a/mail-mta/exim/files/exim.logrotate
+++ b/mail-mta/exim/files/exim.logrotate
@@ -8,7 +8,7 @@
create 640 mail mail
sharedscripts
postrotate
- /etc/init.d/exim reload > /dev/null
+ /etc/init.d/exim reload > /dev/null 2>&1 || true
endscript
}