[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 30 Jun 2010 15:43:36 +0200
changeset 5840 60880c81e32e
parent 5823 8a6c15e2e8b0
child 5849 9db65b381028
[debian] fix logrotate error introduced by 5806:9ef0e95f4d2b: sh don't want spaces here
debian/cubicweb-ctl.logrotate
--- a/debian/cubicweb-ctl.logrotate	Mon Jun 21 17:48:36 2010 +0200
+++ b/debian/cubicweb-ctl.logrotate	Wed Jun 30 15:43:36 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
 }