diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-06 03:55:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-06 03:55:49 +0200 |
commit | e983b76024342278a0377eae116c925f2567776e (patch) | |
tree | b4f55ba0d56cf2d5d99233a1f70a4e2aaa436edc /src/unit.c | |
parent | 273f54cdc2ce9eec741157c60fa240a23d79bb72 (diff) |
manager: notify plymouth about progress if it is running
Diffstat (limited to 'src/unit.c')
-rw-r--r-- | src/unit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/unit.c b/src/unit.c index 71ef2a706d..2f8b92d3b5 100644 --- a/src/unit.c +++ b/src/unit.c @@ -1165,10 +1165,13 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns) { if (u->meta.type == UNIT_SERVICE && !UNIT_IS_ACTIVE_OR_RELOADING(os)) { /* Write audit record if we have just finished starting up */ - manager_send_unit_audit(u->meta.manager, u, AUDIT_SERVICE_START, 1); + manager_send_unit_audit(u->meta.manager, u, AUDIT_SERVICE_START, true); u->meta.in_audit = true; } + if (!UNIT_IS_ACTIVE_OR_RELOADING(os)) + manager_send_unit_plymouth(u->meta.manager, u); + } else { if (unit_has_name(u, SPECIAL_SYSLOG_SERVICE)) |