shutdown: print a nice message when terminating a container

This commit is contained in:
Lennart Poettering 2011-03-14 15:33:39 +01:00
parent 9b634ea5fb
commit f41de95966

View file

@ -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();