summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}