Added exit statement for command execution

This commit is contained in:
Lord Hepipud 2019-09-25 20:02:42 +02:00
parent 95cfaf4638
commit 59236ee0ec

View file

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