diff options
author | Benjamin Berg <bberg@redhat.com> | 2020-05-22 17:52:21 +0200 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2020-05-27 08:59:59 +0200 |
commit | 8746820b87020358e10a258a3fa42f8ca1c6a453 (patch) | |
tree | 024ea752ab4028871568340044c7d9acfaf7f8bc /src/sysv-generator/sysv-generator.c | |
parent | test: create public images by default (diff) | |
download | systemd-8746820b87020358e10a258a3fa42f8ca1c6a453.tar.xz systemd-8746820b87020358e10a258a3fa42f8ca1c6a453.zip |
sysv-generator: Downgrade directory listing fails to warning
This is not a fatal error and should therefore be a warning instead.
Diffstat (limited to 'src/sysv-generator/sysv-generator.c')
-rw-r--r-- | src/sysv-generator/sysv-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysv-generator/sysv-generator.c b/src/sysv-generator/sysv-generator.c index 5df5743823..21a0fbfb84 100644 --- a/src/sysv-generator/sysv-generator.c +++ b/src/sysv-generator/sysv-generator.c @@ -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; |