mirror of
https://github.com/systemd/systemd
synced 2024-07-21 18:24:38 +00:00
core: downgrade a log message from error to warning
Messages that do not indicate a failing operation, but where we continue operation should be at LOG_WARN, not at LOG_ERR.
This commit is contained in:
parent
7546145e26
commit
800f478c2f
|
@ -117,8 +117,8 @@ static int process_deps(Unit *u, UnitDependency dependency, const char *dir_suff
|
|||
|
||||
r = unit_add_dependency_by_name(u, dependency, entry, *p, true, UNIT_DEPENDENCY_FILE);
|
||||
if (r < 0)
|
||||
log_unit_error_errno(u, r, "cannot add %s dependency on %s, ignoring: %m",
|
||||
unit_dependency_to_string(dependency), entry);
|
||||
log_unit_warning_errno(u, r, "Cannot add %s dependency on %s, ignoring: %m",
|
||||
unit_dependency_to_string(dependency), entry);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue