From: Olivier Brunel Date: Fri, 20 Sep 2013 20:18:30 +0000 (+0200) Subject: Fix possible lack of status messages on shutdown/reboot X-Git-Tag: v209~1432 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b1869eaa22e365ab6595924fe96549b279b5ebc;p=thirdparty%2Fsystemd.git Fix possible lack of status messages on shutdown/reboot Since 31a7eb86 the output on console can be disabled to avoid colliding with gettys. However, it could also lead to a lack of messages during shutdown/reboot. --- diff --git a/src/core/job.c b/src/core/job.c index fc446fbc42c..0dd161c1c58 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -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;