fixed: watchdog keeps showing backoff message even if no command to run.

This commit is contained in:
Nick Bolton 2014-02-07 18:04:25 +00:00
parent af51454e98
commit 98f8a12425
1 changed files with 2 additions and 1 deletions

View File

@ -233,7 +233,7 @@ CMSWindowsWatchdog::mainLoop(void*)
shutdownProcess(m_processInfo.hProcess, m_processInfo.dwProcessId, 20); shutdownProcess(m_processInfo.hProcess, m_processInfo.dwProcessId, 20);
} }
LOG((CLOG_DEBUG "relauncher main thread finished")); LOG((CLOG_DEBUG "watchdog main thread finished"));
} }
bool bool
@ -331,6 +331,7 @@ CMSWindowsWatchdog::setCommand(const std::string& command, bool elevate)
m_command = command; m_command = command;
m_elevateProcess = elevate; m_elevateProcess = elevate;
m_commandChanged = true; m_commandChanged = true;
m_processFailures = 0;
} }
std::string std::string