diff --git a/src/SOS/lldbplugin/services.cpp b/src/SOS/lldbplugin/services.cpp index 95cf915917..8c9ac75c26 100644 --- a/src/SOS/lldbplugin/services.cpp +++ b/src/SOS/lldbplugin/services.cpp @@ -2798,7 +2798,7 @@ LLDBServices::ExecuteCommand( commandLine.append(arg); commandLine.append(" "); } - if (m_commands.find(commandName) == m_commands.end()) + if (m_commands.find(commandName) != m_commands.end()) { lldb::ReturnStatus status = m_interpreter.HandleCommand(commandLine.c_str(), result); result.SetStatus(status);