mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Fixes debug messages being written while no debug option was defined
This commit is contained in:
parent
eb948d8d22
commit
7a732de5f4
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ function Write-IcingaDebugMessage()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($global:IcingaDaemonData.DebugMode -eq $FALSE) {
|
if ($null -eq $global:IcingaDaemonData -Or $global:IcingaDaemonData.DebugMode -eq $FALSE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue