summaryrefslogtreecommitdiff
path: root/src/nspawn
diff options
context:
space:
mode:
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index a8c8b7caf4..4aa877d7a7 100644
--- 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,