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:
e65aec1
)
nspawn: skip mounts if already mounted
author
Lennart Poettering
<lennart@poettering.net>
Tue, 4 Sep 2012 23:33:13 +0000
(16:33 -0700)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 4 Sep 2012 23:33:13 +0000
(16:33 -0700)
src/nspawn/nspawn.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index a8c8b7caf455e815186f927b7c0b6e68490ff3b9..4aa877d7a7d1ec933d41f5c7862a8b5d848c1b4b 100644
(file)
--- a/
src/nspawn/nspawn.c
+++ b/
src/nspawn/nspawn.c
@@
-306,6
+306,9
@@
static int mount_all(const char *dest) {
continue;
}
+ if (t > 0)
+ continue;
+
mkdir_p_label(where, 0755);
if (mount(mount_table[k].what,