summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpcclient/rpcclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 7cb56fe5e4..68457e2b8f 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -574,7 +574,8 @@ static void usage(void)
AllowDebugChange = False;
/* Parse options */
- if (argc == 0) {
+
+ if (argc == 1) {
usage();
return 0;
}