In previous releases of FreeBSD we have enforced -EfGm, and the
new less(1) version enforced only -Em. Restore old behavior in respect with POLA. Submitted by: ru (on -current@)
This commit is contained in:
parent
896534feb3
commit
4e2d304caa
@ -135,6 +135,9 @@ main(argc, argv)
|
||||
|
||||
init_prompt();
|
||||
|
||||
if (less_is_more)
|
||||
scan_option("-fG");
|
||||
|
||||
s = lgetenv(less_is_more ? "MORE" : "LESS");
|
||||
if (s != NULL)
|
||||
scan_option(save(s));
|
||||
|
Loading…
Reference in New Issue
Block a user