mirror of
https://github.com/Icinga/icinga2.git
synced 2025-06-30 18:34:29 +02:00
parent
f151e1ae9e
commit
97f324ad3e
@ -661,7 +661,7 @@ bool Utility::GlobRecursive(const String& path, const String& pattern, const boo
|
|||||||
|
|
||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
|
|
||||||
if (lstat(cpath.CStr(), &statbuf) < 0)
|
if (stat(cpath.CStr(), &statbuf) < 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (S_ISDIR(statbuf.st_mode))
|
if (S_ISDIR(statbuf.st_mode))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user