mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
client: move install part to else branch
https://fedorahosted.org/freeipa/ticket/6392 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
parent
b3786730e5
commit
c38ce49e8d
@ -235,12 +235,12 @@ def main():
|
|||||||
return rval_check
|
return rval_check
|
||||||
|
|
||||||
return client.uninstall(options)
|
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)
|
return client.install(options)
|
||||||
if rval_check != client.SUCCESS:
|
|
||||||
return rval_check
|
|
||||||
|
|
||||||
return client.install(options)
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user