summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/ipa-pwpolicy
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-admintools/ipa-pwpolicy')
-rw-r--r--ipa-admintools/ipa-pwpolicy3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipa-admintools/ipa-pwpolicy b/ipa-admintools/ipa-pwpolicy
index 534cba978..31dc242f9 100644
--- a/ipa-admintools/ipa-pwpolicy
+++ b/ipa-admintools/ipa-pwpolicy
@@ -137,3 +137,6 @@ except xmlrpclib.ProtocolError, e:
except ipa.ipaerror.IPAError, e:
print "%s" % (e.message)
sys.exit(1)
+except Exception, e:
+ print "%s" % str(e)
+ sys.exit(1)