projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce262e5
)
nspawn: fix memory leak
author
Michal Sekletar
<msekleta@redhat.com>
Mon, 25 Jan 2016 11:06:38 +0000
(12:06 +0100)
committer
Michal Sekletar
<msekleta@redhat.com>
Mon, 25 Jan 2016 11:06:38 +0000
(12:06 +0100)
src/nspawn/nspawn.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index d619206dd6ef2d5088c5313125a8a1afb192f642..b183e3aecc74661e76d780bf08f80fef90927532 100644
(file)
--- a/
src/nspawn/nspawn.c
+++ b/
src/nspawn/nspawn.c
@@
-1027,7
+1027,7
@@
static int setup_timezone(const char *dest) {
}
check = strjoina("/usr/share/zoneinfo/", z);
- check = prefix_root(dest, check);
+ check = prefix_root
a
(dest, check);
if (laccess(check, F_OK) < 0) {
log_warning("Timezone %s does not exist in container, not updating container timezone.", z);
return 0;