diff options
author | 2016-05-29 18:25:16 +0200 | |
---|---|---|
committer | 2016-05-29 18:25:16 +0200 | |
commit | 420ee41fe4a94b6d6bc1c73305a1cf657a483804 (patch) | |
tree | 3ce15e292c1abde18d745c4972989a5c8e042bf0 /net-misc/chrony/files | |
parent | profiles: Remove unused XFCE_PLUGINS=xmonad (diff) | |
download | gentoo-420ee41fe4a94b6d6bc1c73305a1cf657a483804.tar.gz gentoo-420ee41fe4a94b6d6bc1c73305a1cf657a483804.tar.bz2 gentoo-420ee41fe4a94b6d6bc1c73305a1cf657a483804.zip |
net-misc/chrony: Fix logrotate script
Since grep -v may return a non-zero exit status even in the benign case, we
need to just return 0 manually. Actual errors will still be reported normally
since any output will trigger mail sending.
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'net-misc/chrony/files')
-rw-r--r-- | net-misc/chrony/files/chrony-2.4-r1.logrotate (renamed from net-misc/chrony/files/chrony-2.4.logrotate) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-misc/chrony/files/chrony-2.4.logrotate b/net-misc/chrony/files/chrony-2.4-r1.logrotate index d1ae72b6e7a1..4140bc2af8b2 100644 --- a/net-misc/chrony/files/chrony-2.4.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' + /usr/bin/chronyc cyclelogs |grep -v '^200 OK'; return 0 endscript } |