diff --git a/client/ipa-client-install b/client/ipa-client-install index 96aaf9aeb..ab80bab2d 100755 --- a/client/ipa-client-install +++ b/client/ipa-client-install @@ -235,12 +235,12 @@ def main(): return rval_check return client.uninstall(options) + else: + rval_check = client.install_check(options) + if rval_check != client.SUCCESS: + return rval_check - rval_check = client.install_check(options) - if rval_check != client.SUCCESS: - return rval_check - - return client.install(options) + return client.install(options) if __name__ == "__main__": try: