diff --git a/install/tools/ipa-compat-manage b/install/tools/ipa-compat-manage index 65c5530b3..4efce417c 100755 --- a/install/tools/ipa-compat-manage +++ b/install/tools/ipa-compat-manage @@ -154,7 +154,7 @@ def main(): retval = 2 except errors.DatabaseError, dbe: print "An error occurred while talking to the server." - print lde + print dbe retval = 1 except errors.LDAPError, lde: print "An error occurred while talking to the server." diff --git a/install/tools/ipa-nis-manage b/install/tools/ipa-nis-manage index 3878d30ee..81bb9cdff 100755 --- a/install/tools/ipa-nis-manage +++ b/install/tools/ipa-nis-manage @@ -184,7 +184,7 @@ def main(): pass except errors.DatabaseError, dbe: print "An error occurred while talking to the server." - print lde + print dbe retval = 1 except errors.LDAPError, lde: print "An error occurred while talking to the server."