mirror of
https://github.com/systemd/systemd
synced 2024-10-06 16:21:34 +00:00
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:
parent
2991fa41e4
commit
8746820b87
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue