summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Davidson <james.davidson@vyatta.com>2012-09-05 10:22:12 -0700
committerJames Davidson <james.davidson@vyatta.com>2012-09-05 10:22:12 -0700
commitf151d65d5275835dccb734aecc63566b77187fe5 (patch)
tree885c7605053af13376a3761c5285833fa2f7fdcf
parent55dffea2b7c8296bd9a8b687caaa2c63ec47ba47 (diff)
downloadvyatta-op-f151d65d5275835dccb734aecc63566b77187fe5.tar.gz
vyatta-op-f151d65d5275835dccb734aecc63566b77187fe5.zip
Fix use of lesspipe
Fixes bug 3921
-rw-r--r--templates/show/system/boot-messages/all/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/system/boot-messages/all/node.def b/templates/show/system/boot-messages/all/node.def
index 15f42d1..fdc8d69 100644
--- a/templates/show/system/boot-messages/all/node.def
+++ b/templates/show/system/boot-messages/all/node.def
@@ -1,5 +1,5 @@
help: Show all kernel boot messages
-run: LESSOPEN="/usr/bin/lesspipe %s" LESSCLOSE="/usr/bin/lesspipe %s %s" \
+run: LESSOPEN="|/usr/bin/lesspipe %s" LESSCLOSE="|/usr/bin/lesspipe %s %s" \
less $_vyatta_less_options \
--prompt=".boot-messages?m, file %i of %m., page %dt of %D" \
-- `printf "%s\n" /var/log/dmesg* | sort -nr`