git: bfad53b8d9 - main - log mis-configured or missing release aliases

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=bfad53b8d9bf7abcb1b8d565df0c6f61144d96cb

commit bfad53b8d9bf7abcb1b8d565df0c6f61144d96cb
Author:     Wolfram Schneider <[email protected]>
AuthorDate: 2025-06-09 11:11:04 +0000
Commit:     Wolfram Schneider <[email protected]>
CommitDate: 2025-06-09 11:11:04 +0000

    log mis-configured or missing release aliases
---
 website/content/en/cgi/man.cgi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/website/content/en/cgi/man.cgi b/website/content/en/cgi/man.cgi
index 80e0389bcb..aeddf504ef 100755
--- a/website/content/en/cgi/man.cgi
+++ b/website/content/en/cgi/man.cgi
@@ -2407,7 +2407,10 @@ sub faq {
     }
 
     foreach ( &freebsd_first (&sort_manpath(\%manPathAliases) )) {
-        next if !$manPathAliases{$_};
+        if (!$manPathAliases{$_}) {
+            warn "missing release alias '$_'\n" if $debug >= 2;
+            next;        
+        }
 
         my $encode_url = &encode_url($_);
         push( @list2,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.