chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nspawn: if a file system comes pre-mounted, still do the read-only remounts
[elogind.git]
/
src
/
nspawn
/
nspawn.c
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index 4aa877d7a7d1ec933d41f5c7862a8b5d848c1b4b..ed72c3ebf1cffc43fae0455694abda1038f76510 100644
(file)
--- a/
src/nspawn/nspawn.c
+++ b/
src/nspawn/nspawn.c
@@
-306,7
+306,8
@@
static int mount_all(const char *dest) {
continue;
}
- if (t > 0)
+ /* Skip this entry if it is not a remount. */
+ if (mount_table[k].what && t > 0)
continue;
mkdir_p_label(where, 0755);