git: fc51ddc375 - main - man.cgi: remove dead code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Nov 2026 17:11:15 UTC
The branch main has been updated by wosch:
URL: https://cgit.FreeBSD.org/doc/commit/?id=fc51ddc375035c3d08bdb9aa24e453eab30f4e2a
commit fc51ddc375035c3d08bdb9aa24e453eab30f4e2a
Author: Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2026-11-11 17:10:00 +0000
Commit: Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2026-11-11 17:10:00 +0000
man.cgi: remove dead code
---
website/content/en/cgi/man.cgi | 7 -------
1 file changed, 7 deletions(-)
diff --git a/website/content/en/cgi/man.cgi b/website/content/en/cgi/man.cgi
index 437e1f431d..c5e799c814 100755
--- a/website/content/en/cgi/man.cgi
+++ b/website/content/en/cgi/man.cgi
@@ -2028,13 +2028,6 @@ sub man {
$manpath_m = $manPath{ &dec($manpath) };
&groff_path( $manPath{ &dec($manpath) } );
}
- else {
-
- # unset invalid manpath
- print "x $manpath x\n";
- print "x " . &dec($manpath) . "x\n";
- undef $manpath;
- }
}
if ( $format =~ /^(ps|pdf)$/ ) {