From 7bd63492ed2521f34b240749dc747df0dbc00d7e Mon Sep 17 00:00:00 2001
From: Bob Gilligan <gilligan@vyatta.com>
Date: Tue, 14 Jul 2009 12:09:24 -0700
Subject: Bugfix 4708: Eliminate use of "update" in non-leaf valueless nodes.

---
 templates/system/syslog/global/archive/node.def | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

(limited to 'templates/system/syslog/global/archive/node.def')

diff --git a/templates/system/syslog/global/archive/node.def b/templates/system/syslog/global/archive/node.def
index 17d6c996..8c6110d3 100644
--- a/templates/system/syslog/global/archive/node.def
+++ b/templates/system/syslog/global/archive/node.def
@@ -1,6 +1,5 @@
 help: Set log file size and rotation characteristics
-# need mandatory files & size
-update:expression: "sudo sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \
-'$VAR(files/@)' '$VAR(size/@)' 1\" "
-delete:expression: "sudo sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \
-'$VAR(files/@)' '$VAR(size/@)' 0\" "
+
+delete:
+	sudo sh -c "/opt/vyatta/sbin/vyatta_update_logrotate.pl \
+		'$VAR(files/@)' '$VAR(size/@)' 0"
-- 
cgit v1.2.3

