diff --git a/lib/cli/nodeutility.cpp b/lib/cli/nodeutility.cpp index d7ea8bce3..b8df144a0 100644 --- a/lib/cli/nodeutility.cpp +++ b/lib/cli/nodeutility.cpp @@ -293,7 +293,7 @@ bool NodeUtility::GetConfigurationIncludeState(const String& value, bool recursi * First hit breaks out of the loop. */ - if (!line.compare(affectedInclude)) { + if (line.compare(0, affectedInclude.GetLength(), affectedInclude) == 0) { isIncluded = true; /*