diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-04 16:33:13 -0700 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-04 16:33:13 -0700 |
commit | 014a9c777b97b9df432f71537e289b2723795412 (patch) | |
tree | 03d78f65378369ad04c3ed8384972b558175ad94 /src | |
parent | e65aec12ae1d224aa2b7743fd5d5d10c586227ac (diff) |
nspawn: skip mounts if already mounted
Diffstat (limited to 'src')
-rw-r--r-- | src/nspawn/nspawn.c | 3 |
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, |