summaryrefslogtreecommitdiff
path: root/source3/utils
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 /source3/utils
parent30a224367595f9e2506e41053fc9c7cb96a90928 (diff)
downloadsamba-9a9949f92f90bd4305607350dea2672473397752.tar.gz
samba-9a9949f92f90bd4305607350dea2672473397752.tar.bz2
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>
Diffstat (limited to 'source3/utils')
-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);
}