summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Haitao <penght@cn.fujitsu.com>2013-05-22 14:02:29 -0700
committerJeremy Allison <jra@samba.org>2013-05-22 17:00:41 -0700
commit9a9949f92f90bd4305607350dea2672473397752 (patch)
tree8ab442425aa72f7bfd0e17d9b8f435ec96bf4272
parent30a224367595f9e2506e41053fc9c7cb96a90928 (diff)
downloadsamba-9a9949f92f90bd4305607350dea2672473397752.tar.gz
samba-9a9949f92f90bd4305607350dea2672473397752.tar.xz
samba-9a9949f92f90bd4305607350dea2672473397752.zip
When '--policies-reset' is success, the exit code should be 0.
Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--source3/utils/pdbedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index 908f0ba0af..8e3a5a514b 100644
--- 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);
}