diff options
author | Peng Haitao <penght@cn.fujitsu.com> | 2013-05-22 14:02:29 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-05-22 17:00:41 -0700 |
commit | 9a9949f92f90bd4305607350dea2672473397752 (patch) | |
tree | 8ab442425aa72f7bfd0e17d9b8f435ec96bf4272 | |
parent | 30a224367595f9e2506e41053fc9c7cb96a90928 (diff) | |
download | samba-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.c | 2 |
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); } |