chiark / gitweb /
shutdown: print the standard wall message even when the user provided one
[elogind.git] / src / shutdown.c
index df2d850afd0bffb82030b7eabcbf273f0b96cae3..a2f3b539b3023dffbfa589337c9f296eef63aa25 100644 (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();