From bf2057b20b6c84d792816898dcded905bfdb146f Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Tue, 23 Sep 2014 01:44:51 +0200 Subject: build: fix argument count check in dummy-man again * man/dummy-man: Fix argument count check, now only permitting exactly 1 argument, the program name. Reported by Andreas Schwab --- man/dummy-man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man/dummy-man') diff --git a/man/dummy-man b/man/dummy-man index 65b85d555..bf31912b2 100755 --- a/man/dummy-man +++ b/man/dummy-man @@ -39,7 +39,7 @@ while test $# -gt 0; do done test $# -gt 0 || fatal_ "missing argument" -test $# -gt 1 || fatal_ "too many non-option arguments" +test $# -le 1 || fatal_ "too many non-option arguments" baseout=`basename_ "$output"` sed 's/^/WARNING: /' >&2 <