chiark / gitweb /
Fix possible lack of status messages on shutdown/reboot
[elogind.git] / src / core / job.c
index fc446fb..0dd161c 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;