# HG changeset patch # User Sylvain Thénault <sylvain.thenault@logilab.fr> # Date 1277107205 -7200 # Node ID 9ef0e95f4d2bddd61d89c6f311d34b1fb9b0229e # Parent 560cde8a4f9ff787374f7eef9544373055398a9a [debian] #1027463: logrotate script should filter out warnings diff -r 560cde8a4f9f -r 9ef0e95f4d2b debian/cubicweb-ctl.logrotate --- 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 }