]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/unit: fix log message 25387/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 15 Nov 2022 13:59:01 +0000 (22:59 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 15 Dec 2022 18:15:51 +0000 (03:15 +0900)
commited9911630e4bca844381d7caeb850dad9a9fa122
tree204ec760e2a98885b9d0d7bf3cbeeebfbb0ebd0c
parent1d0c81a05b1605a5fc3db44d5a157a1d6876eda9
core/unit: fix log message

As you can see in the below, the dropped dependency Before=issue-24990.service
is not logged, but the dependency Before=test1.service which is not owned by
the units generated by the TEST-26 is logged.

Before:
systemd[1]: issue-24990.service: Dependency After=test1.service dropped, merged into issue-24990.service
systemd[1]: issue-24990.service: Dependency Before=test1.service dropped, merged into issue-24990.service

After:
systemd[1]: issue-24990.service: Dependency After=test1.service is dropped, as test1.service is merged into issue-24990.service.
systemd[1]: issue-24990.service: Dependency Before=issue-24990.service in test1.service is dropped, as test1.service is merged into issue-24990.service.
src/core/unit.c