chiark / gitweb /
unit: rename BindTo= to BindsTo=
[elogind.git] / src / core / shutdown.c
index 363046e1a49ef9ff1462e13a78b60008d4debf05..1c2bf372b5aafe5dd3059e7c8312021dee0270b0 100644 (file)
@@ -44,6 +44,7 @@
 #include "mkdir.h"
 #include "virt.h"
 #include "watchdog.h"
+#include "killall.h"
 
 #define FINALIZE_ATTEMPTS 50
 
@@ -184,6 +185,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 */