From e369e3dcade7d85575645bf7a67040248dfd1ccf Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Wed, 15 Jan 2014 10:48:10 +0100 Subject: Fix ipa-client-automount uninstall when fstore is empty. https://fedorahosted.org/freeipa/ticket/4091 --- ipa-client/ipa-install/ipa-client-automount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipa-client') diff --git a/ipa-client/ipa-install/ipa-client-automount b/ipa-client/ipa-install/ipa-client-automount index a431b98e..6cf79a7b 100755 --- a/ipa-client/ipa-install/ipa-client-automount +++ b/ipa-client/ipa-install/ipa-client-automount @@ -360,7 +360,7 @@ def main(): fstore = sysrestore.FileStore('/var/lib/ipa-client/sysrestore') statestore = sysrestore.StateFile('/var/lib/ipa-client/sysrestore') - if not fstore.has_files(): + if not fstore.has_files() and not os.path.exists('/etc/ipa/default.conf'): sys.exit('IPA client is not configured on this system.\n') options, args = parse_options() -- cgit