commit:     eae6c748da04fe37c47f5e9a6c245d11fffe5810
Author:     Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  6 07:25:28 2016 +0000
Commit:     Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Mon Jun  6 07:25:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eae6c748

net-misc/chrony: Fix the logrotate script for good.

Also bump latest version so people get the new logrotate file.

Package-Manager: portage-2.3.0_rc1

 .../chrony/{chrony-2.4_pre1-r2.ebuild => chrony-2.4_pre1-r3.ebuild}     | 0
 net-misc/chrony/files/chrony-2.4-r1.logrotate                           | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/chrony/chrony-2.4_pre1-r2.ebuild 
b/net-misc/chrony/chrony-2.4_pre1-r3.ebuild
similarity index 100%
rename from net-misc/chrony/chrony-2.4_pre1-r2.ebuild
rename to net-misc/chrony/chrony-2.4_pre1-r3.ebuild

diff --git a/net-misc/chrony/files/chrony-2.4-r1.logrotate 
b/net-misc/chrony/files/chrony-2.4-r1.logrotate
index 4140bc2..a2cf8fe 100644
--- a/net-misc/chrony/files/chrony-2.4-r1.logrotate
+++ b/net-misc/chrony/files/chrony-2.4-r1.logrotate
@@ -2,6 +2,6 @@
        missingok
        sharedscripts
        postrotate
-               /usr/bin/chronyc cyclelogs |grep -v '^200 OK'; return 0
+               /usr/bin/chronyc cyclelogs |grep -v '^200 OK'; exit 0
        endscript
 }

Reply via email to