summaryrefslogtreecommitdiff
path: root/src/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-09-01 21:05:06 +0200
committerLennart Poettering <lennart@poettering.net>2011-09-01 21:05:06 +0200
commit27d340c772fb1b251085dba7bd5420484f7c5892 (patch)
tree40444adbc2ac122fa9ebfbe3d471f8a7f0864725 /src/unit.c
parentfe7ac310219d84ca8621fd89b99fcf60a2fdfd46 (diff)
fsck: show progress while fscking at boot
Diffstat (limited to 'src/unit.c')
-rw-r--r--src/unit.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/unit.c b/src/unit.c
index 031e61993d..3ce87ea1d3 100644
--- a/src/unit.c
+++ b/src/unit.c
@@ -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))