Skip to content
Snippets Groups Projects
Commit 34fe6103 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ipaclient/library/ipanss.py: Fixed wrong name in paths.GETENT compat check

The paths.GETENT compat check was using "KDESTROY" instead of "GETENT".
parent 809e490f
No related branches found
No related tags found
No related merge requests found
...@@ -288,7 +288,7 @@ def main(): ...@@ -288,7 +288,7 @@ def main():
# Particulary, SSSD might take longer than 6-8 seconds. # Particulary, SSSD might take longer than 6-8 seconds.
while n < 10 and not found: while n < 10 and not found:
try: try:
ipautil.run([paths.GETENT if hasattr(paths, "KDESTROY") else "getent", "passwd", user]) ipautil.run([paths.GETENT if hasattr(paths, "GETENT") else "getent", "passwd", user])
found = True found = True
except Exception as e: except Exception as e:
time.sleep(1) time.sleep(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment