summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-10-07 14:47:28 +0200
committerMartin Kosek <mkosek@redhat.com>2011-10-07 15:23:17 +0200
commitaf63731363c23f879ccefcd4b03695f463dbab3f (patch)
tree10a818f670b1cc6f3474cc4c1a488dfeb34ca199
parenta0470afdcddcfcdade802b6cf04c43898f52421d (diff)
downloadfreeipa-af63731363c23f879ccefcd4b03695f463dbab3f.tar.gz
freeipa-af63731363c23f879ccefcd4b03695f463dbab3f.tar.xz
freeipa-af63731363c23f879ccefcd4b03695f463dbab3f.zip
Make sure ipa-client-install returns correct error code
https://fedorahosted.org/freeipa/ticket/1937
-rwxr-xr-xipa-client/ipa-install/ipa-client-install2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install
index 431878036..55f38ed98 100755
--- a/ipa-client/ipa-install/ipa-client-install
+++ b/ipa-client/ipa-install/ipa-client-install
@@ -1193,6 +1193,8 @@ def main():
options.unattended = True
uninstall(options, env, quiet=True)
+ return rval
+
try:
if __name__ == "__main__":
sys.exit(main())