Skip to content

Commit c2996e8

Browse files
committed
WIP
1 parent f7b2c7e commit c2996e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jobs/GetWindowsService.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Use-Icinga -Minimal;
77

88
[string]$ErrMsg = "";
99
[hashtable]$ServiceData = @{
10-
'Status' = 'Unknown';
10+
'Status' = '';
1111
'Present' = $FALSE;
1212
'Name' = 'Unknown';
1313
'DisplayName' = 'Unknown';

lib/core/framework/Get-IcingaWindowsServiceStatus.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function Get-IcingaWindowsServiceStatus()
3636
if ($ServiceData.Service.Installed -eq $FALSE) {
3737
Write-IcingaConsoleError $ServiceData.ErrMsg;
3838
return @{
39-
'Status' = 'Unknown';
39+
'Status' = '';
4040
'Present' = $FALSE;
4141
'Name' = 'Unknown';
4242
'DisplayName' = 'Unknown';

0 commit comments

Comments
 (0)