summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/show/log/all/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/show/log/all/node.def b/templates/show/log/all/node.def
index 069d1d4..243cf1b 100644
--- a/templates/show/log/all/node.def
+++ b/templates/show/log/all/node.def
@@ -1,4 +1,5 @@
help: Show contents of all master log files
-run: less $_vyatta_less_options \
+run: eval $(lesspipe)
+ less $_vyatta_less_options \
--prompt=".log?m, file %i of %m., page %dt of %D" \
-- `printf "%s\n" /var/log/messages* | sort -nr`