chiark / gitweb /
Fix possible lack of status messages on shutdown/reboot
[elogind.git] / src / core / job.c
index fc446fbc42cc2ca7402dc228f0c69cd0215cd48d..0dd161c1c58104313214d6b01c2bef7fca019276 100644 (file)
@@ -1097,6 +1097,9 @@ void job_shutdown_magic(Job *j) {
         if (!unit_has_name(j->unit, SPECIAL_SHUTDOWN_TARGET))
                 return;
 
+        /* In case messages on console has been disabled on boot */
+        j->unit->manager->no_console_output = false;
+
         if (detect_container(NULL) > 0)
                 return;