From 9a9949f92f90bd4305607350dea2672473397752 Mon Sep 17 00:00:00 2001 From: Peng Haitao Date: Wed, 22 May 2013 14:02:29 -0700 Subject: When '--policies-reset' is success, the exit code should be 0. Reviewed-by: Jeremy Allison Reviewed-by: Michael Adam --- source3/utils/pdbedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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); } -- cgit