From: Zbigniew Jędrzejewski-Szmek Date: Thu, 2 Feb 2017 00:48:27 +0000 (-0500) Subject: core/transaction: also downgrade warning for masked units wanted by followed units X-Git-Tag: v233~179^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5204%2Fhead;p=thirdparty%2Fsystemd.git core/transaction: also downgrade warning for masked units wanted by followed units The warning "Cannot add dependency job, ignoring" was downgraded to info in one place, but not in the other. C.f. #5179. --- diff --git a/src/core/transaction.c b/src/core/transaction.c index e22e3b30c2e..b6d10624145 100644 --- a/src/core/transaction.c +++ b/src/core/transaction.c @@ -907,7 +907,10 @@ int transaction_add_job_and_dependencies( SET_FOREACH(dep, following, i) { r = transaction_add_job_and_dependencies(tr, type, dep, ret, false, false, false, ignore_order, e); if (r < 0) { - log_unit_warning(dep, "Cannot add dependency job for, ignoring: %s", bus_error_message(e, r)); + log_unit_full(dep, + r == -ERFKILL ? LOG_INFO : LOG_WARNING, + r, "Cannot add dependency job, ignoring: %s", + bus_error_message(e, r)); sd_bus_error_free(e); } }