[polipo] - Tweaked the logrotate script (eliminate unwanted messages from chkconfig)

jcp jcp at fedoraproject.org
Fri Jun 29 03:42:54 UTC 2012


commit 592a0f8ca5ba4f95933413386a0737ebb4b4d9a7
Author: John C. Peterson <jcp at eskimo.com>
Date:   Thu Jun 28 20:28:13 2012 -0700

    - Tweaked the logrotate script (eliminate unwanted messages from chkconfig)

 polipo.logrotate |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/polipo.logrotate b/polipo.logrotate
index 768a078..a607b7b 100644
--- a/polipo.logrotate
+++ b/polipo.logrotate
@@ -4,6 +4,6 @@
     notifempty
     delaycompress
     postrotate
-	/sbin/chkconfig polipo && /sbin/service polipo reload 2>/dev/null >/dev/null || : 
+	/sbin/chkconfig polipo 2>/dev/null >/dev/null && /sbin/service polipo reload 2>/dev/null >/dev/null || : 
     endscript
 }


More information about the scm-commits mailing list