Fix ipa-client-automount uninstall when fstore is empty.

https://fedorahosted.org/freeipa/ticket/4091
This commit is contained in:
Jan Cholasta authored and Martin Kosek committed 2014-01-15 12:10:05 +01:00
1 parent 7cc8c3b14b
commit e369e3dcad
1 file changed
+1 -1
+1 -1
View File
@@ -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()