From 6695763f68fbf3acfb6c69739deca28217eaf8ef Mon Sep 17 00:00:00 2001
From: Tom Grennan <tgrennan@vyatta.com>
Date: Thu, 20 Mar 2008 13:43:35 -0700
Subject: fix bug 3017

don't pipe through VYATTA_PAGER if run_cmd itself is a pager or tail
---
 templates/show/log/all/node.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'templates/show/log/all/node.def')

diff --git a/templates/show/log/all/node.def b/templates/show/log/all/node.def
index 87e959b..8df54f5 100644
--- a/templates/show/log/all/node.def
+++ b/templates/show/log/all/node.def
@@ -1,2 +1,2 @@
 help: Show contents of all master log files
-run: ${vyatta_bindir}/vyatta-show-log-all
+run: less $_vyatta_less_options -- `printf "%s\n" /var/log/messages* | sort -nr`
-- 
cgit v1.2.3

