Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: 042729b0bc24897eec1937d7008df3a36e60d407
https://github.com/tribe29/checkmk/commit/042729b0bc24897eec1937d7008df3a36…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2020-11-10 (Tue, 10 Nov 2020)
Changed paths:
M agents/wnx/src/common/wtools.cpp
M agents/wnx/src/common/wtools.h
M agents/wnx/src/engine/cfg.cpp
M agents/wnx/watest/test-wtools.cpp
Log Message:
-----------
[CMK-6247] - add processing of REG_EXPAND_SZ in windows registry(1.6 agent)
- unit tested.
In some cases windows service is installed using environment variable, for example
ImagePath is equal to
%ProgramFiles(x86)%\checkmk\service\check_mk_agent.exe. We need this data to correctly
determine service location.
But previously we have ignored environment variables in a path. Now the problem had been
fixed.
Change-Id: Ic7342bb3544642fead97871444b57fb735434573