projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a07f961
)
nspawn: fix argv[0] for getent
author
Mantas Mikulėnas
<grawity@gmail.com>
Tue, 11 Mar 2014 16:00:13 +0000
(18:00 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 11 Mar 2014 16:45:20 +0000
(17:45 +0100)
src/nspawn/nspawn.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index
1051b92
..
b2c974d
100644
(file)
--- a/
src/nspawn/nspawn.c
+++ b/
src/nspawn/nspawn.c
@@
-2275,8
+2275,8
@@
static int spawn_getent(const char *database, const char *key, pid_t *rpid) {
reset_all_signal_handlers();
close_all_fds(NULL, 0);
- execle("/usr/bin/getent", "geten
v
", database, key, NULL, &empty_env);
- execle("/bin/getent", "geten
v
", database, key, NULL, &empty_env);
+ execle("/usr/bin/getent", "geten
t
", database, key, NULL, &empty_env);
+ execle("/bin/getent", "geten
t
", database, key, NULL, &empty_env);
_exit(EXIT_FAILURE);
}