Skip to content

Commit

Permalink
use -X argument for less directly
Browse files Browse the repository at this point in the history
  • Loading branch information
citrus-it committed Oct 4, 2017
1 parent afa5a50 commit 258fe7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/omni
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}

Expand Down

0 comments on commit 258fe7e

Please sign in to comment.