[systemd-devel] [PATCH 2/3] Only disable output on console during boot if needed
Olivier Brunel
jjk at jjacky.com
Fri Sep 20 13:18:29 PDT 2013
If there are no more jobs on console, no need/we shouldn't disable output.
---
src/core/manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/manager.c b/src/core/manager.c
index 669af15..a48d711 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -1757,7 +1757,7 @@ static int process_event(Manager *m, struct epoll_event *ev) {
}
case WATCH_IDLE_PIPE: {
- m->no_console_output = true;
+ m->no_console_output = m->n_on_console > 0;
manager_unwatch_idle_pipe(m);
close_idle_pipe(m);
--
1.8.4
More information about the systemd-devel
mailing list