mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user