From 258fe7e9c348b9190653a8d15825c9f33cd87f75 Mon Sep 17 00:00:00 2001 From: citrus-it Date: Wed, 4 Oct 2017 12:04:50 +0000 Subject: [PATCH] use -X argument for less directly --- bin/omni | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omni b/bin/omni index bb89426..9fba619 100755 --- a/bin/omni +++ b/bin/omni @@ -314,7 +314,7 @@ view_mail_msg() cd $illumos_clone/log dir="`ls -1tr | fgrep 'log.' | tail -1`" [ -f "$dir/mail_msg" ] || abort "Mail message not present." - LESS=-X less $dir/mail_msg + less -X $dir/mail_msg ) }