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
This commit is contained in:
committed by
Tatsuya Kinoshita
parent
a8c22f6d91
commit
a3ec574690
@@ -81,7 +81,7 @@ if ($query{"local"}) {
|
|||||||
if (! ($file =~ /^\//)) {
|
if (! ($file =~ /^\//)) {
|
||||||
$file = $query{"pwd"} . '/' . $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 {
|
} else {
|
||||||
$man = $query{"man"};
|
$man = $query{"man"};
|
||||||
if ($man =~ s/\((\w+)\)$//) {
|
if ($man =~ s/\((\w+)\)$//) {
|
||||||
|
Reference in New Issue
Block a user