aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/w3mman/w3mman2html.cgi.in
diff options
context:
space:
mode:
authorDustin Boyd <memreflect@pm.me>2020-09-25 12:35:36 +0000
committerTatsuya Kinoshita <tats@debian.org>2020-09-25 12:35:36 +0000
commita3ec57469036b495bb79cad898324de1a77fbd50 (patch)
treecd7b1bffc5067d760a6d476b7811941221c33a68 /scripts/w3mman/w3mman2html.cgi.in
parentUpdate ChangeLog (diff)
downloadw3m-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.in2
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+)\)$//) {