From: Lennart Poettering Date: Mon, 14 Mar 2011 14:33:39 +0000 (+0100) Subject: shutdown: print a nice message when terminating a container X-Git-Tag: v21~92 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f41de9596627ef68fcb4c0dae4b9bd8033701230;p=systemd shutdown: print a nice message when terminating a container --- diff --git a/src/shutdown.c b/src/shutdown.c index df2d850a..a2f3b539 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();