nspawn: if a file system comes pre-mounted, still do the read-only remounts

This commit is contained in:
Lennart Poettering
2012-09-05 14:16:41 -07:00
parent f408b8f1bb
commit 9c1c7f712d
+2 -1
View File
@@ -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);