git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6be1c1
)
s4/torture/locktest: don't ignore unknown options
author
Ralph Boehme
<slow@samba.org>
Fri, 10 Sep 2021 05:27:13 +0000
(07:27 +0200)
committer
Ralph Boehme
<slow@samba.org>
Fri, 10 Sep 2021 15:10:30 +0000
(15:10 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14828
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/torture/locktest.c
patch
|
blob
|
history
diff --git
a/source4/torture/locktest.c
b/source4/torture/locktest.c
index 6124f36965b8102c59a86b2bd3031108c730b015..11701a975bb20aadbb089eb449f7e87613a63ab8 100644
(file)
--- a/
source4/torture/locktest.c
+++ b/
source4/torture/locktest.c
@@
-646,6
+646,11
@@
int main(int argc, const char *argv[])
CRED_SPECIFIED);
username_count++;
break;
+ case POPT_ERROR_BADOPT:
+ fprintf(stderr, "\nInvalid option %s: %s\n\n",
+ poptBadOption(pc, 0), poptStrerror(opt));
+ poptPrintUsage(pc, stderr, 0);
+ exit(1);
}
}