git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4-torture: catch bad command line options
[ira/wip.git]
/
source4
/
torture
/
smbtorture.c
diff --git
a/source4/torture/smbtorture.c
b/source4/torture/smbtorture.c
index dbd45bf8af1c92dc0894131403ced657b5ed0b68..08c5748a4075576ec2d4c87493950188fab0ce8e 100644
(file)
--- a/
source4/torture/smbtorture.c
+++ b/
source4/torture/smbtorture.c
@@
-519,6
+519,9
@@
int main(int argc,char *argv[])
talloc_free(option);
}
break;
+ default:
+ printf("bad command line option\n");
+ exit(1);
}
}