projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-4.10' into collectd-5.0
[collectd.git]
/
src
/
common.c
diff --git
a/src/common.c
b/src/common.c
index
e1f204b
..
0069a8b
100644
(file)
--- a/
src/common.c
+++ b/
src/common.c
@@
-543,7
+543,8
@@
int check_create_dir (const char *file_orig)
}
while (42) {
}
while (42) {
- if (stat (dir, &statbuf) == -1)
+ if ((stat (dir, &statbuf) == -1)
+ && (lstat (dir, &statbuf) == -1))
{
if (errno == ENOENT)
{
{
if (errno == ENOENT)
{