mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
1bf12c9685
commit
e45ede6271
@ -553,7 +553,7 @@ bool Utility::Glob(const String& pathSpec, const std::function<void (const Strin
|
||||
|
||||
int rc = glob(pathSpec.CStr(), GLOB_NOSORT, GlobErrorHandler, &gr);
|
||||
|
||||
if (rc < 0) {
|
||||
if (rc) {
|
||||
if (rc == GLOB_NOMATCH)
|
||||
return false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user