summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAlban Bedel <alban.bedel@avionic-design.de>2014-09-22 11:53:13 +0200
committerPádraig Brady <P@draigBrady.com>2014-09-22 19:37:52 +0100
commit1f994f301402bebea5d528ddd29f5d251cbcde1f (patch)
tree1b938060b217b1673b9fc72ed524e3a8eb5185e5 /man
parentf51c44bd1e7f22c7b65a20d9ced747ac63f0fc16 (diff)
downloadcoreutils-1f994f301402bebea5d528ddd29f5d251cbcde1f.tar.xz
build: fix an inverted test breaking dummy-man
* man/dummy-man: Fix argument count check, allowing dummy-man to run (on systems without perl). Fixes http://bugs.gnu.org/18531
Diffstat (limited to 'man')
-rwxr-xr-xman/dummy-man2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/dummy-man b/man/dummy-man
index bf31912b2..65b85d555 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 $# -le 1 || fatal_ "too many non-option arguments"
+test $# -gt 1 || fatal_ "too many non-option arguments"
baseout=`basename_ "$output"`
sed 's/^/WARNING: /' >&2 <<END