sysv-generator: Downgrade directory listing fails to warning

This is not a fatal error and should therefore be a warning instead.
This commit is contained in:
Benjamin Berg 2020-05-22 17:52:21 +02:00
parent 2991fa41e4
commit 8746820b87
1 changed files with 1 additions and 1 deletions

View File

@ -843,7 +843,7 @@ static int set_dependencies_from_rcnd(const LookupPaths *lp, Hashmap *all_servic
continue;
}
FOREACH_DIRENT(de, d, log_error_errno(errno, "Failed to enumerate directory %s, ignoring: %m", path)) {
FOREACH_DIRENT(de, d, log_warning_errno(errno, "Failed to enumerate directory %s, ignoring: %m", path)) {
_cleanup_free_ char *name = NULL, *fpath = NULL;
int a, b;