mirror of
https://github.com/Icinga/icinga2.git
synced 2026-04-07 01:55:02 -04:00
parent
1bf12c9685
commit
e45ede6271
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue