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:
31f92a7
)
journal: follow symlinks when enumerating journals
author
Lennart Poettering
<lennart@poettering.net>
Thu, 19 Jul 2012 00:35:17 +0000
(
02:35
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 19 Jul 2012 00:35:17 +0000
(
02:35
+0200)
src/journal/sd-journal.c
patch
|
blob
|
history
diff --git
a/src/journal/sd-journal.c
b/src/journal/sd-journal.c
index c3f19ca697a4396150c8c43d99b5dd4ee00822a0..4c19fc0ed13f666393416656f9620b062acf63e7 100644
(file)
--- a/
src/journal/sd-journal.c
+++ b/
src/journal/sd-journal.c
@@
-1329,7
+1329,7
@@
static int add_root_directory(sd_journal *j, const char *p) {
if (r < 0)
log_debug("Failed to add file %s/%s: %s", m->path, de->d_name, strerror(-r));
- } else if ((de->d_type == DT_DIR || de->d_type == DT_UNKNOWN) &&
+ } else if ((de->d_type == DT_DIR || de->d_type == DT_
LNK || de->d_type == DT_
UNKNOWN) &&
sd_id128_from_string(de->d_name, &id) >= 0) {
r = add_directory(j, m->path, de->d_name);