summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/setup/pwsettings4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/setup/pwsettings b/source4/setup/pwsettings
index 68ff305c1e..bc65d2c0fa 100755
--- a/source4/setup/pwsettings
+++ b/source4/setup/pwsettings
@@ -84,8 +84,8 @@ except:
print "So no settings can be displayed!"
sys.exit(1)
else:
- pwd_props = 0
- message("WARNING: Assuming previous password properties 0 (used for password complexity setting)")
+ print "ERROR: Could not retrieve password properties (used for password complexity setting)"
+ sys.exit(1)
if args[0] == "show":
message("Password informations for domain '" + domain_dn + "'")