summaryrefslogtreecommitdiff
path: root/src/shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shutdown.c')
-rw-r--r--src/shutdown.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shutdown.c b/src/shutdown.c
index df2d850afd..a2f3b539b3 100644
--- a/src/shutdown.c
+++ b/src/shutdown.c
@@ -323,8 +323,10 @@ int main(int argc, char *argv[]) {
/* If we are in a container, just exit, this will kill our
* container for good. */
- if (in_container)
+ if (in_container) {
+ log_error("Exiting container.");
exit(0);
+ }
sync();