Fix ProcessHostCheckResult error message.

Fixes #5601
This commit is contained in:
Michael Friedrich 2014-02-04 15:59:08 +01:00
parent ed2d4e627c
commit 1728095c53
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ void ExternalCommandProcessor::ProcessHostCheckResult(double time, const std::ve
else if (exitStatus == 1)
state = StateCritical;
else
BOOST_THROW_EXCEPTION(std::invalid_argument("Invalid status code: " + arguments[2]));
BOOST_THROW_EXCEPTION(std::invalid_argument("Invalid status code: " + arguments[1]));
result->SetState(state);