From d0d75ccc740e34e5737acb0a33decb120886b6dc Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 5 Jul 2013 10:51:46 +0200 Subject: [PATCH] src/core/manager.c:manager_get_show_status() check if console is in use Do not print on console, if a service explicitly reserved the active console tty. --- src/core/manager.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/manager.c b/src/core/manager.c index 6128194..2db7db3 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -2641,6 +2641,9 @@ static bool manager_get_show_status(Manager *m) { if (m->running_as != SYSTEMD_SYSTEM) return false; + if (m->n_on_console) + return false; + if (m->show_status) return true; -- 1.8.3.1