git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30a2243
)
When '--policies-reset' is success, the exit code should be 0.
author
Peng Haitao
<penght@cn.fujitsu.com>
Wed, 22 May 2013 21:02:29 +0000
(14:02 -0700)
committer
Jeremy Allison
<jra@samba.org>
Thu, 23 May 2013 00:00:41 +0000
(17:00 -0700)
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/utils/pdbedit.c
patch
|
blob
|
history
diff --git
a/source3/utils/pdbedit.c
b/source3/utils/pdbedit.c
index 908f0ba0afed40f345f4e2b248222376d9a06f71..8e3a5a514bd80d5a04ff28706d45fbf6960e10a5 100644
(file)
--- a/
source3/utils/pdbedit.c
+++ b/
source3/utils/pdbedit.c
@@
-1181,7
+1181,7
@@
int main (int argc, char **argv)
}
if (reset_account_policies) {
- if (
!
reinit_account_policies()) {
+ if (reinit_account_policies()) {
exit(1);
}