Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 23a0d1632ebca0c805c480f4142e960fe9d56140
https://github.com/tribe29/checkmk/commit/23a0d1632ebca0c805c480f4142e960fe…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2022-11-17 (Thu, 17 Nov 2022)
Changed paths:
M agents/check_mk_agent.aix
M agents/check_mk_agent.freebsd
M agents/check_mk_agent.linux
M agents/check_mk_agent.openwrt
M agents/check_mk_agent.solaris
A tests/unit-shell/agents/test_current_shell.sh
M tests/unit-shell/agents/test_log_section_time.sh
M tests/unit-shell/agents/test_run_cached.sh
Log Message:
-----------
check_mk_agent: fix current shell determination for run_cached
1.
Fix missing function definitions "_this_shell" in agents freebsd and
openwrt.
2.
Introduce new global variable "CURRENT_SHELL" instead of function
"_this_shell", which is not available in any forked processes (e.g. any
processes created by run_cached).
Change-Id: I6f9b8efe3ee0317b8b9a28227aa915537f1f745c