summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/ipa-deluser
diff options
context:
space:
mode:
authorrcritten@redhat.com <rcritten@redhat.com>2007-09-24 15:22:17 -0400
committerrcritten@redhat.com <rcritten@redhat.com>2007-09-24 15:22:17 -0400
commit2035297e225fc94f30a6f9fc2267346e08caa007 (patch)
tree2169fb73a3a8cfc6aee0d86f0e0976799d5be9de /ipa-admintools/ipa-deluser
parent5cdfc5bd3b63bd20071b75e3e70ebbc491d51589 (diff)
downloadfreeipa-2035297e225fc94f30a6f9fc2267346e08caa007.tar.gz
freeipa-2035297e225fc94f30a6f9fc2267346e08caa007.tar.xz
freeipa-2035297e225fc94f30a6f9fc2267346e08caa007.zip
Add a missing exception catcher
Diffstat (limited to 'ipa-admintools/ipa-deluser')
-rw-r--r--ipa-admintools/ipa-deluser3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipa-admintools/ipa-deluser b/ipa-admintools/ipa-deluser
index bcee2afd9..659c3869e 100644
--- a/ipa-admintools/ipa-deluser
+++ b/ipa-admintools/ipa-deluser
@@ -63,6 +63,9 @@ def main():
except xmlrpclib.ProtocolError, e:
print "Unable to connect to IPA server: %s" % (e.errmsg)
return 1
+ except ipa.ipaerror.IPAError, e:
+ print "%s" % (e.message)
+ return 1
return 0