summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-03-07 04:03:21 +0000
committerTim Potter <tpot@samba.org>2002-03-07 04:03:21 +0000
commit5b195f8bf14b11edca74db5fd9658916447b363d (patch)
tree5c6561d6bc0ac19d43b89710bb93597913919e23
parent5ba4ba36339269b2059da7c103e63ecd948f7938 (diff)
downloadsamba-5b195f8bf14b11edca74db5fd9658916447b363d.tar.gz
samba-5b195f8bf14b11edca74db5fd9658916447b363d.tar.xz
samba-5b195f8bf14b11edca74db5fd9658916447b363d.zip
argc == 0 is an impossible condition.
-rw-r--r--source/rpcclient/rpcclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/rpcclient/rpcclient.c b/source/rpcclient/rpcclient.c
index 7cb56fe5e4f..68457e2b8f2 100644
--- a/source/rpcclient/rpcclient.c
+++ b/source/rpcclient/rpcclient.c
@@ -574,7 +574,8 @@ static void usage(void)
AllowDebugChange = False;
/* Parse options */
- if (argc == 0) {
+
+ if (argc == 1) {
usage();
return 0;
}