Commit 910212e7 authored by Lennart Poettering's avatar Lennart Poettering

container: when shutting down in a container don't detach loop devices

We don't do device handling in containers, hence no loop devices either.
parent bd3fa1d2
......@@ -184,6 +184,7 @@ int main(int argc, char *argv[]) {
if (in_container) {
need_swapoff = false;
need_dm_detach = false;
need_loop_detach = false;
}
/* Unmount all mountpoints, swaps, and loopback devices */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment