mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user