chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: improve error message when machine id is missing
[elogind.git]
/
src
/
core
/
shutdown.c
diff --git
a/src/core/shutdown.c
b/src/core/shutdown.c
index d361cbe631e45593dfc8b472186ae74d5bf8d0d6..20cf526ba2716b34fe1a2fc9bde05a396b160502 100644
(file)
--- a/
src/core/shutdown.c
+++ b/
src/core/shutdown.c
@@
-207,7
+207,7
@@
int main(int argc, char *argv[]) {
in_container = detect_container(NULL) > 0;
- need_umount =
true
;
+ need_umount =
!in_container
;
need_swapoff = !in_container;
need_loop_detach = !in_container;
need_dm_detach = !in_container;