summaryrefslogtreecommitdiffstats
path: root/ipa-client/ipa-install/ipa-client-install
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-04-29 16:23:05 +0200
committerRob Crittenden <rcritten@redhat.com>2011-04-29 16:32:59 -0400
commitc6763d0a587511eae05bd91d7bbdd1e44c74a875 (patch)
tree4e8a1d82241106430e4d3cad562c9805154d1c94 /ipa-client/ipa-install/ipa-client-install
parent2e99c60c8b21723f86f86bedf1c37c51789f7bc8 (diff)
downloadfreeipa-c6763d0a587511eae05bd91d7bbdd1e44c74a875.zip
freeipa-c6763d0a587511eae05bd91d7bbdd1e44c74a875.tar.gz
freeipa-c6763d0a587511eae05bd91d7bbdd1e44c74a875.tar.xz
ipa-client-install uninstall does not work on IPA server
When IPA server is being uninstalled, IPA client on-master uninstallation which is called by the script fails. https://fedorahosted.org/freeipa/ticket/1197
Diffstat (limited to 'ipa-client/ipa-install/ipa-client-install')
-rwxr-xr-xipa-client/ipa-install/ipa-client-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install
index 74b7130..5533b9a 100755
--- a/ipa-client/ipa-install/ipa-client-install
+++ b/ipa-client/ipa-install/ipa-client-install
@@ -190,7 +190,7 @@ def uninstall(options, env):
return 2
server_fstore = sysrestore.FileStore('/var/lib/ipa/sysrestore')
- if server_fstore.has_files():
+ if server_fstore.has_files() and not options.on_master:
print "IPA client is configured as a part of IPA server on this system."
print "Please refer to ipa-server-install for uninstallation."
return 2