nspawn: skip mounts if already mounted

This commit is contained in:
Lennart Poettering 2012-09-04 16:33:13 -07:00
parent e65aec12ae
commit 014a9c777b

View File

@ -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,