Added exit statement for command execution

This commit is contained in:
Lord Hepipud 2019-09-25 20:02:42 +02:00
parent 11c34f9d9b
commit 863bfb58e5

View file

@ -150,7 +150,7 @@ function Get-IcingaCheckCommandConfig()
'arguments' = @{
# Set the Command handling for every check command
'-C' = @{
'value' = [string]::Format('Use-Icinga; {0}', $Data.Name);
'value' = [string]::Format('Use-Icinga; exit {0}', $Data.Name);
'order' = '0';
}
}