svn commit: r53058 - head/en_US.ISO8859-1/htdocs/cgi

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: wosch
Date: Sat May 25 16:41:05 2019
New Revision: 53058
URL: https://svnweb.freebsd.org/changeset/doc/53058

Log:
  ascii format: warning message needs to be in ASCII as well

Modified:
  head/en_US.ISO8859-1/htdocs/cgi/man.cgi

Modified: head/en_US.ISO8859-1/htdocs/cgi/man.cgi
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Sat May 25 16:39:41 2019	(r53057)
+++ head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Sat May 25 16:41:05 2019	(r53058)
@@ -1449,6 +1449,10 @@ sub man {
     &proc( *MAN, $command{'man'}, @manargs, "--", $name )
       || &mydie("$0: open of $command{'man'} command failed: $!\n");
     if ( eof(MAN) ) {
+        if ( $format eq "ascii" ) {
+            print "Sorry, no data found for '$html_name'\n";
+	    return;
+        }
 
         # print "X $command{'man'} @manargs -- x $name x\n";
         print qq{</pre>\n};
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
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.