Code

contrib/collection3: skip host dirs without read access.
authorMarc Fournier <marc.fournier@camptocamp.com>
Wed, 16 Sep 2009 10:17:28 +0000 (12:17 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 16 Sep 2009 20:35:00 +0000 (22:35 +0200)
commit81207a4725755b4df70c2d329225f118475f0253
tree5ce1d8e1a1486d8a7304e766002f3a978c7a8b72
parentd9babca1cad1b4fc8148b65c05d11f704ac639d7
contrib/collection3: skip host dirs without read access.

This patch prevents get_files_from_directory() from
failing when DataDir contains directories which we
don't have access to.

An example would be "lost+found" directories, on
ext2/ext3 filesystems, which belong to root and have
0700 filemode.

Signed-off-by: Marc Fournier <marc.fournier@camptocamp.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
contrib/collection3/lib/Collectd/Graph/Common.pm