From 15ab3a8e8beb74f909411b741f392cf957c905b6 Mon Sep 17 00:00:00 2001 From: Tom Grennan Date: Wed, 23 Jan 2008 18:36:12 -0800 Subject: fix /etc/crontab: logrotate --- debian/vyatta-cfg-system.postinst.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/vyatta-cfg-system.postinst.in') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 0010f52f..00dc0265 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -45,7 +45,7 @@ fi # update crontab for logrotate grep -v logrotate /etc/crontab>/etc/crontab.$$ -echo "*/10 * * * * /usr/sbin/logrotate /etc/logrotate.conf" >> /etc/crontab.$$ +echo "*/10 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" >> /etc/crontab.$$ rm /etc/crontab mv /etc/crontab.$$ /etc/crontab crontab /etc/crontab -- cgit v1.2.3