summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/shutdown.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/shutdown.c b/src/core/shutdown.c
index 363046e1a4..1290d807f0 100644
--- a/src/core/shutdown.c
+++ b/src/core/shutdown.c
@@ -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 */