Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 40 lines 1.4 kB view raw
1diff --git a/check_wmi_plus.makeman.sh b/check_wmi_plus.makeman.sh 2index 38dc7a4..3fe4369 100755 3--- a/check_wmi_plus.makeman.sh 4+++ b/check_wmi_plus.makeman.sh 5@@ -19,15 +19,6 @@ mkdir -p "$manpage_dir/man1" 6 # the full path to the manpage file 7 manfile="$manpage_dir/man1/check_wmi_plus.1" 8 9-# if we are not running in a terminal then only show the text-based help 10-if [ ! -t 0 ]; then 11- # we are not running in a terminal 12- echo "Not running in a terminal - showing text-based help" 13- echo 14- exec $check_wmi_plus_text_help 15-fi 16- 17- 18 usage() 19 { 20 cat << EOT 21diff --git a/check_wmi_plus_help.pl b/check_wmi_plus_help.pl 22index 3440db2..2982da2 100755 23--- a/check_wmi_plus_help.pl 24+++ b/check_wmi_plus_help.pl 25@@ -24,7 +24,7 @@ if ($opt_help) { 26 # we have the script to make the manpage and have not been asked to show text only help 27 exec ("$make_manpage_script \"$0 --itexthelp\" \"$manpage_dir\"") or print STDERR "couldn't exec $make_manpage_script: $!"; 28 } else { 29- print "Warning: Can not access/execute Manpage script ($make_manpage_script).\nShowing help in text-only format.\n\n"; 30+ # print "Warning: Can not access/execute Manpage script ($make_manpage_script).\nShowing help in text-only format.\n\n"; 31 } 32 } 33 34@@ -692,4 +692,4 @@ show_ini_help_overview(1); 35 finish_program($ERRORS{'UNKNOWN'}); 36 } 37 38-1; 39\ No newline at end of file 40+1;