diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-03-14 15:33:39 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-03-14 15:37:09 +0100 |
commit | f41de9596627ef68fcb4c0dae4b9bd8033701230 (patch) | |
tree | f58d1b549bc9a66cad5c1b3dc22685b85b91e868 /src/shutdown.c | |
parent | 9b634ea5fb7cb5466f1f7873204bd67d02652981 (diff) |
shutdown: print a nice message when terminating a container
Diffstat (limited to 'src/shutdown.c')
-rw-r--r-- | src/shutdown.c | 4 |
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(); |