mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-14 09:22:01 -05:00
Fix ipa-client-automount uninstall when fstore is empty.
https://fedorahosted.org/freeipa/ticket/4091
This commit is contained in:
1 parent
7cc8c3b14b
commit
e369e3dcad
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user