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 a60d7fa3cb..1b7f0f6bd4 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 < 2) {
+ if (argc == 0) {
usage();
return 0;
}