summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2002-03-21 22:36:04 +0000
committerHerb Lewis <herb@samba.org>2002-03-21 22:36:04 +0000
commita3468c25a40cf434a43bbde49fb2b7643c652238 (patch)
treef7284b9a21c330b305b66c793a0dccee18c95a85 /source3
parentbffc69a877497c91f3acd77a229e9840b67f9087 (diff)
downloadsamba-a3468c25a40cf434a43bbde49fb2b7643c652238.tar.gz
samba-a3468c25a40cf434a43bbde49fb2b7643c652238.tar.bz2
samba-a3468c25a40cf434a43bbde49fb2b7643c652238.zip
merge fix for core dump when called with no args from 2.2
(This used to be commit 8b38cca631a7434fcce0686c8e41c986a0a36a21)
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/masktest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c
index 7725bfe409..0e0b531080 100644
--- a/source3/torture/masktest.c
+++ b/source3/torture/masktest.c
@@ -432,7 +432,7 @@ static void usage(void)
DEBUGLEVEL = 0;
AllowDebugChange = False;
- if (argv[1][0] == '-' || argc < 2) {
+ if (argc < 2 || argv[1][0] == '-') {
usage();
exit(1);
}