summaryrefslogtreecommitdiff
path: root/src/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-30 02:21:48 +0200
committerLennart Poettering <lennart@poettering.net>2011-03-30 02:21:48 +0200
commit6faa11140bf776cdaeb8d22d01816e6e48296971 (patch)
treecb3857a75f2f40727d026aecfa00883505758f61 /src/unit.c
parent871c44a747a8bf4465cbfda445216e9ac66d4a40 (diff)
status: show status messages unconditionally if plymouth is around
Diffstat (limited to 'src/unit.c')
-rw-r--r--src/unit.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/unit.c b/src/unit.c
index a2953a6bcb..b684649224 100644
--- a/src/unit.c
+++ b/src/unit.c
@@ -2254,7 +2254,10 @@ void unit_status_printf(Unit *u, const char *format, ...) {
if (u->meta.manager->running_as != MANAGER_SYSTEM)
return;
- if (!u->meta.manager->show_status)
+ /* 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())
return;
if (!manager_is_booting_or_shutting_down(u->meta.manager))