From 0a2d1d5067ea0303a3ae3c9160f6e590c6a3da25 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Sun, 27 Aug 2017 17:46:37 +0000 Subject: [PATCH] fix empty input message --- en_US.ISO8859-1/htdocs/cgi/man.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/en_US.ISO8859-1/htdocs/cgi/man.cgi b/en_US.ISO8859-1/htdocs/cgi/man.cgi index d9341e660c..10d8a0d6f9 100755 --- a/en_US.ISO8859-1/htdocs/cgi/man.cgi +++ b/en_US.ISO8859-1/htdocs/cgi/man.cgi @@ -1297,7 +1297,10 @@ sub man { #print Dumper($sectionpath); #print "yy $section yy $manpath\n"; if ( $name =~ /^\s*$/ ) { - print "Empty input, no man page given.\n"; + print "
"; + print "Empty input. Please type a manual page and search again.\n"; + print "
\n"; + &html_footer; return; }