From c38ce49e8d280e52c61f722b0e5ad7aa9f53cc1a Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Mon, 31 Oct 2016 13:28:45 +0100 Subject: [PATCH] client: move install part to else branch https://fedorahosted.org/freeipa/ticket/6392 Reviewed-By: Stanislav Laznicka --- client/ipa-client-install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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: