Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: f9a02d83db904a2844cea6144ce81551bc882a43
https://github.com/tribe29/checkmk/commit/f9a02d83db904a2844cea6144ce81551b…
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
- 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: Ib6b1bdcb09cd72d926b75af12f42f81ace15c3ba