summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorChristian Heimes <cheimes@redhat.com>2018-02-07 17:18:07 +0100
committerChristian Heimes <cheimes@redhat.com>2018-02-08 09:32:12 +0100
commit2391c75e3d7efcdc5c2f49defa5138fc7e6def06 (patch)
tree9de44a8da38b012bd41ddafaaed41d0a0cbdfb18 /client
parent7619fa41549d7206b04511fbabb4c39f648a486c (diff)
downloadfreeipa-2391c75e3d7efcdc5c2f49defa5138fc7e6def06.tar.gz
freeipa-2391c75e3d7efcdc5c2f49defa5138fc7e6def06.tar.xz
freeipa-2391c75e3d7efcdc5c2f49defa5138fc7e6def06.zip
Replace hard-coded paths with path constants
Several run() calls used hard-coded paths rather than pre-defined paths from ipaplatform.paths. The patch fixes all places that I was able to find with a simple search. The fix simplifies Darix's port of freeIPA on openSuSE. Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Diffstat (limited to 'client')
-rwxr-xr-xclient/ipa-client-automount2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/ipa-client-automount b/client/ipa-client-automount
index ee55d655c..6c2816c41 100755
--- a/client/ipa-client-automount
+++ b/client/ipa-client-automount
@@ -92,7 +92,7 @@ def wait_for_sssd():
time.sleep(1)
while n < 10 and not found:
try:
- ipautil.run(["getent", "passwd", "admin@%s" % api.env.realm])
+ ipautil.run([paths.GETENT, "passwd", "admin@%s" % api.env.realm])
found = True
except Exception:
time.sleep(1)