From f151d65d5275835dccb734aecc63566b77187fe5 Mon Sep 17 00:00:00 2001 From: James Davidson Date: Wed, 5 Sep 2012 10:22:12 -0700 Subject: Fix use of lesspipe Fixes bug 3921 --- templates/show/system/boot-messages/all/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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` -- cgit v1.2.3