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:
parent
30a2243675
commit
9a9949f92f
@ -1181,7 +1181,7 @@ int main (int argc, char **argv)
|
||||
}
|
||||
|
||||
if (reset_account_policies) {
|
||||
if (!reinit_account_policies()) {
|
||||
if (reinit_account_policies()) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user