chiark / gitweb /
systemadm: use color for dependency links
[elogind.git] / src / unit.c
index 031e61993de4c46e3aef51e4d4074ed89dabe022..3ce87ea1d38ebdecfef6c26b609ef98a36b6aa1a 100644 (file)
@@ -2431,13 +2431,7 @@ void unit_status_printf(Unit *u, const char *format, ...) {
         if (!UNIT_VTABLE(u)->show_status)
                 return;
 
-        if (u->meta.manager->running_as != MANAGER_SYSTEM)
-                return;
-
-        /* If Plymouth is running make sure we show the status, so
-         * that there's something nice to see when people press Esc */
-
-        if (!u->meta.manager->show_status && !plymouth_running())
+        if (!manager_get_show_status(u->meta.manager))
                 return;
 
         if (!manager_is_booting_or_shutting_down(u->meta.manager))