1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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>
This commit is contained in:
Peng Haitao 2013-05-22 14:02:29 -07:00 committed by Jeremy Allison
parent 30a2243675
commit 9a9949f92f

View File

@ -1181,7 +1181,7 @@ int main (int argc, char **argv)
}
if (reset_account_policies) {
if (!reinit_account_policies()) {
if (reinit_account_policies()) {
exit(1);
}