[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 30 Jun 2010 15:50:06 +0200
branchstable
changeset 5841 4cbcfed90905
parent 5839 53cbdc5e0426
child 5842 10efd227648e
[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here
debian/cubicweb-ctl.logrotate
--- a/debian/cubicweb-ctl.logrotate	Wed Jun 30 12:27:51 2010 +0200
+++ b/debian/cubicweb-ctl.logrotate	Wed Jun 30 15:50:06 2010 +0200
@@ -9,9 +9,9 @@
         sharedscripts
         postrotate
            if [ -x /usr/sbin/invoke-rc.d ]; then \
-              invoke-rc.d cubicweb reload > /dev/null 2> &1; \
+              invoke-rc.d cubicweb reload > /dev/null 2>&1; \
            else \
-              /etc/init.d/cubicweb reload > /dev/null 2> &1; \
+              /etc/init.d/cubicweb reload > /dev/null 2>&1; \
            fi; \
         endscript
 }