mirror of https://github.com/Icinga/icinga2.git
parent
ed2d4e627c
commit
1728095c53
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue