debian/cubicweb-ctl.logrotate
branchstable
changeset 5806 9ef0e95f4d2b
parent 0 b97547f5f1fa
child 5840 60880c81e32e
--- a/debian/cubicweb-ctl.logrotate	Mon Jun 21 09:36:40 2010 +0200
+++ b/debian/cubicweb-ctl.logrotate	Mon Jun 21 10:00:05 2010 +0200
@@ -9,9 +9,9 @@
         sharedscripts
         postrotate
            if [ -x /usr/sbin/invoke-rc.d ]; then \
-              invoke-rc.d cubicweb reload > /dev/null; \
+              invoke-rc.d cubicweb reload > /dev/null 2> &1; \
            else \
-              /etc/init.d/cubicweb reload > /dev/null; \
+              /etc/init.d/cubicweb reload > /dev/null 2> &1; \
            fi; \
         endscript
 }