summaryrefslogtreecommitdiff
path: root/support/ab.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/ab.c')
-rw-r--r--support/ab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/ab.c b/support/ab.c
index f4a68662f6..55d1e4bb88 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -2592,8 +2592,8 @@ int main(int argc, const char * const argv[])
}
}
- if (opt->ind != argc - 1) {
- fprintf(stderr, "%s: wrong number of arguments\n", argv[0]);
+ if (status != APR_EOF || opt->ind != argc - 1) {
+ fprintf(stderr, "%s: Invalid or missing arguments\n", argv[0]);
usage(argv[0]);
}