mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
Merge pull request #2076 from keszybz/downgrade-masked-unit-message
core: do not warn about Wants depencencies on masked units
This commit is contained in:
commit
e93af635c7
|
@ -950,7 +950,7 @@ int transaction_add_job_and_dependencies(
|
|||
r = transaction_add_job_and_dependencies(tr, JOB_START, dep, ret, false, false, false, ignore_order, e);
|
||||
if (r < 0) {
|
||||
log_unit_full(dep,
|
||||
r == -EADDRNOTAVAIL ? LOG_DEBUG : LOG_WARNING, r,
|
||||
r == -EBADR /* unit masked */ ? LOG_DEBUG : LOG_WARNING, r,
|
||||
"Cannot add dependency job, ignoring: %s",
|
||||
bus_error_message(e, r));
|
||||
sd_bus_error_free(e);
|
||||
|
|
Loading…
Reference in a new issue