summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpcclient/rpcclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 57ae56521d..a60d7fa3cb 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -651,7 +651,7 @@ static void usage(void)
argc -= optind;
/* Parse options */
- if (argc > 1) {
+ if (argc < 2) {
usage();
return 0;
}