Check_mk_agent loop execution

Hi @whity

Indeed that is an important detail. As far as I know, in a bash script, the construct

VAR=${VAR:-some path}

means the following: If the variable $VAR is not defined, use some path for it. What I’m getting
at is that you could avoid modifying the agent itself, and simply define the variables MK_LIBDIR, MK_CONFDIR and MK_VARDIR in your environment. This way, when you update the agent, it’ll work “out of the box”.

Thomas