projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
plugin: Introduced basic support for per-plugin intervals.
[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) {
- if (stat (dir, &statbuf) == -1)
+ if ((stat (dir, &statbuf) == -1)
+ && (lstat (dir, &statbuf) == -1))
{
if (errno == ENOENT)
{