diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2014-09-23 01:44:51 +0200 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2014-09-23 01:44:51 +0200 |
commit | bf2057b20b6c84d792816898dcded905bfdb146f (patch) | |
tree | 15b9303f327784411eb5c5f4c22cc8af74195da4 /man/dummy-man | |
parent | 1f994f301402bebea5d528ddd29f5d251cbcde1f (diff) | |
download | coreutils-bf2057b20b6c84d792816898dcded905bfdb146f.tar.xz |
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 <schwab@linux-m68k.org>
Diffstat (limited to 'man/dummy-man')
-rwxr-xr-x | man/dummy-man | 2 |
1 files changed, 1 insertions, 1 deletions
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 <<END |