summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-11 03:08:54 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-11 03:08:54 +0100
commit8c4e25b73c680ce4072247592bd44e1c809e2dd2 (patch)
treedba9f424991abfae65626a1394b56859462921f7
parent2cb46a2b0c7accf0786828b232413554a5c76f17 (diff)
nspawn: fix getent fallback
-rw-r--r--src/nspawn/nspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 097d7f779f..cd31bd42cc 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -2265,7 +2265,7 @@ static int spawn_getent(const char *database, const char *key, pid_t *rpid) {
close_all_fds(NULL, 0);
execle("/usr/bin/getent", "getenv", database, key, NULL, &empty_env);
- execle("/usr/getent", "getenv", database, key, NULL, &empty_env);
+ execle("/bin/getent", "getenv", database, key, NULL, &empty_env);
_exit(EXIT_FAILURE);
}