diff options
author | Dustin Boyd <memreflect@pm.me> | 2020-09-25 12:35:36 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2020-09-25 12:35:36 +0000 |
commit | a3ec57469036b495bb79cad898324de1a77fbd50 (patch) | |
tree | cd7b1bffc5067d760a6d476b7811941221c33a68 /scripts/w3mman/w3mman2html.cgi.in | |
parent | Update ChangeLog (diff) | |
download | w3m-a3ec57469036b495bb79cad898324de1a77fbd50.tar.gz w3m-a3ec57469036b495bb79cad898324de1a77fbd50.zip |
Remove -l flag in CGI script
Origin: https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217947&action=diff
Bug-FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249305
Diffstat (limited to 'scripts/w3mman/w3mman2html.cgi.in')
-rw-r--r-- | scripts/w3mman/w3mman2html.cgi.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/w3mman/w3mman2html.cgi.in b/scripts/w3mman/w3mman2html.cgi.in index d660681..2d326a9 100644 --- a/scripts/w3mman/w3mman2html.cgi.in +++ b/scripts/w3mman/w3mman2html.cgi.in @@ -81,7 +81,7 @@ if ($query{"local"}) { if (! ($file =~ /^\//)) { $file = $query{"pwd"} . '/' . $file; } - open(F, "MAN_KEEP_FORMATTING=1 $MAN -l $file 2> /dev/null |"); + open(F, "MAN_KEEP_FORMATTING=1 $MAN $file 2> /dev/null |"); } else { $man = $query{"man"}; if ($man =~ s/\((\w+)\)$//) { |