chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f418f31
)
nspawn: remove unused variable
author
Dave Reisner
<dreisner@archlinux.org>
Fri, 14 Mar 2014 01:56:07 +0000
(21:56 -0400)
committer
Dave Reisner
<dreisner@archlinux.org>
Fri, 14 Mar 2014 01:56:07 +0000
(21:56 -0400)
src/nspawn/nspawn.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index 7c3d7b89beb03890db7fc73a77f66f7206514c05..dd7cfc409536c538c0c90730683215cd22f67cc7 100644
(file)
--- a/
src/nspawn/nspawn.c
+++ b/
src/nspawn/nspawn.c
@@
-2368,8
+2368,6
@@
static int spawn_getent(const char *database, const char *key, pid_t *rpid) {
}
static int change_uid_gid(char **_home) {
-
- _cleanup_strv_free_ char **passwd = NULL;
char line[LINE_MAX], *w, *x, *state, *u, *g, *h;
_cleanup_free_ uid_t *uids = NULL;
_cleanup_free_ char *home = NULL;