X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fmanager.c;h=c99a022cd5390ffc42d66848c223d3c4d6f0ab8a;hp=07ca4c92f738fc6e6dd15975b15cf667050ed20e;hb=2f38577f3040eedebfe1ace05d5b5a779a588af1;hpb=8aa5429a4a59abbcf567938fa6ef60bb2c8ae2f1 diff --git a/src/core/manager.c b/src/core/manager.c index 07ca4c92f..c99a022cd 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -1789,7 +1789,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);