ID: 6063
Title: Special agents: Remove unreplaced macros from special agent command lines
Component: Core & setup
Level: 1
Class: Bug fix
Version: 1.6.0i1
In previous versions the command lines of special agent calls like e.g. custom
data source programs could contain unreplaced macros in the format
<tt>$_HOST_MACRO$</tt>
which were later inpterpreted as shell variables. In case there was no such variable in
the shell environment, the trailing <tt>$</tt> was left on the command line as
single
character.
This could lead to some broken command line calls. We now do the replacement as usual.
After replacing all known macros, the command line is searched for left over $...$ macros
and remove the whole macro from the command line. This should make optional macro
handling
a lot easier.
Show replies by date