summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 363046e1a..1290d807f 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 */