mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -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;
|
||||
}
|
||||
|
||||
if ($global:IcingaDaemonData.DebugMode -eq $FALSE) {
|
||||
if ($null -eq $global:IcingaDaemonData -Or $global:IcingaDaemonData.DebugMode -eq $FALSE) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue