Fixes -Force flag for environment service updater

This commit is contained in:
Lord Hepipud 2024-04-02 21:01:44 +02:00
parent 354c78a088
commit 3a3d66fc0a

View file

@ -59,7 +59,7 @@ function Set-IcingaServiceEnvironment()
); );
} }
if ($Global:Icinga.Protected.Environment.FetchedServices) { if ($Global:Icinga.Protected.Environment.FetchedServices -And $Force -eq $FALSE) {
return; return;
} }