From 7abfe13a00760382363c49b3c04597822cd38a6b Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Wed, 17 Oct 2018 12:45:13 +0200 Subject: [PATCH] Remove default environment, regression from e678fa1aa5 refs #6512 fixes #6694 --- icinga-app/icinga.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/icinga-app/icinga.cpp b/icinga-app/icinga.cpp index 8110c40e8..9ad8a9a42 100644 --- a/icinga-app/icinga.cpp +++ b/icinga-app/icinga.cpp @@ -301,8 +301,6 @@ static int Main() ScriptGlobal::Set("MaxConcurrentChecks", Application::GetDefaultMaxConcurrentChecks()); - ScriptGlobal::Set("Environment", "production"); - ScriptGlobal::Set("System.PlatformKernel", Utility::GetPlatformKernel(), true); ScriptGlobal::Set("System.PlatformKernelVersion", Utility::GetPlatformKernelVersion(), true); ScriptGlobal::Set("System.PlatformName", Utility::GetPlatformName(), true);