chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shutdown: add missing include
[elogind.git]
/
src
/
core
/
shutdown.c
diff --git
a/src/core/shutdown.c
b/src/core/shutdown.c
index 363046e1a49ef9ff1462e13a78b60008d4debf05..1c2bf372b5aafe5dd3059e7c8312021dee0270b0 100644
(file)
--- a/
src/core/shutdown.c
+++ b/
src/core/shutdown.c
@@
-44,6
+44,7
@@
#include "mkdir.h"
#include "virt.h"
#include "watchdog.h"
#include "mkdir.h"
#include "virt.h"
#include "watchdog.h"
+#include "killall.h"
#define FINALIZE_ATTEMPTS 50
#define FINALIZE_ATTEMPTS 50
@@
-184,6
+185,7
@@
int main(int argc, char *argv[]) {
if (in_container) {
need_swapoff = false;
need_dm_detach = false;
if (in_container) {
need_swapoff = false;
need_dm_detach = false;
+ need_loop_detach = false;
}
/* Unmount all mountpoints, swaps, and loopback devices */
}
/* Unmount all mountpoints, swaps, and loopback devices */