chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3053a76
)
conf-files: log when we skip a drop-in configuration file
author
Lennart Poettering
<lennart@poettering.net>
Wed, 13 Sep 2017 09:41:41 +0000
(11:41 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Wed, 13 Sep 2017 09:41:41 +0000
(11:41 +0200)
src/basic/conf-files.c
patch
|
blob
|
history
diff --git
a/src/basic/conf-files.c
b/src/basic/conf-files.c
index 21921a43e104c889a0fb848c91db4891ced44ba0..d776583c05d9532e1571b19a8ef5873f358bb84b 100644
(file)
--- a/
src/basic/conf-files.c
+++ b/
src/basic/conf-files.c
@@
-57,8
+57,10
@@
static int files_add(Hashmap *h, const char *suffix, const char *root, unsigned
FOREACH_DIRENT(de, dir, return -errno) {
char *p;
- if (!dirent_is_file_with_suffix(de, suffix))
+ if (!dirent_is_file_with_suffix(de, suffix)) {
+ log_debug("Ignoring %s/%s, because it's not a regular file with suffix %s.", dirpath, de->d_name, strna(suffix));
continue;
+ }
if (flags & CONF_FILES_EXECUTABLE) {
struct stat st;