mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Upgrade: Do not show upgrade failed message when IPA is not installed
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
committed by
Jan Cholasta
parent
232458a222
commit
21b04769b9
@@ -50,4 +50,9 @@ class ServerUpgrade(admintool.AdminTool):
|
||||
raise admintool.ScriptError(str(e))
|
||||
|
||||
def handle_error(self, exception):
|
||||
if not isinstance(exception, SystemExit):
|
||||
# do not log this message when ipa is not installed
|
||||
self.log.error("IPA server upgrade failed: Inspect "
|
||||
"/var/log/ipaupgrade.log and run command "
|
||||
"ipa-server-upgrade manually.")
|
||||
return installutils.handle_error(exception, self.log_file_name)
|
||||
|
||||
Reference in New Issue
Block a user