mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-11 17:31:10 +07: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:
parent
bd3fa1d243
commit
910212e738
@ -184,6 +184,7 @@ int main(int argc, char *argv[]) {
|
|||||||
if (in_container) {
|
if (in_container) {
|
||||||
need_swapoff = false;
|
need_swapoff = false;
|
||||||
need_dm_detach = false;
|
need_dm_detach = false;
|
||||||
|
need_loop_detach = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Unmount all mountpoints, swaps, and loopback devices */
|
/* Unmount all mountpoints, swaps, and loopback devices */
|
||||||
|
Loading…
Reference in New Issue
Block a user