chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb3d2b8
)
shutdown: don't try to shut down DM devices in a container
author
Lennart Poettering
<lennart@poettering.net>
Sun, 22 Apr 2012 13:50:52 +0000
(15:50 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 22 Apr 2012 13:50:52 +0000
(15:50 +0200)
src/core/shutdown.c
patch
|
blob
|
history
diff --git
a/src/core/shutdown.c
b/src/core/shutdown.c
index cd478b0349901e6a8762bea0adcc6f8adc190f73..9631f92885d44e816979754c1861a514656b0352 100644
(file)
--- a/
src/core/shutdown.c
+++ b/
src/core/shutdown.c
@@
-356,8
+356,10
@@
int main(int argc, char *argv[]) {
log_info("Sending SIGKILL to remaining processes...");
send_signal(SIGKILL);
- if (in_container)
+ if (in_container)
{
need_swapoff = false;
+ need_dm_detach = false;
+ }
/* Unmount all mountpoints, swaps, and loopback devices */
for (retries = 0; retries < FINALIZE_ATTEMPTS; retries++) {