fix calls to get_elastic_agent_vars

This commit is contained in:
m0duspwnens
2024-09-04 17:43:49 -04:00
parent 72f3eaa8f6
commit df14cbad44
2 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
LOG="/opt/so/log/elasticfleet/so-elastic-agent-gen-installers.log"
# get the variables needed such as ELASTIC_AGENT_TARBALL_VERSION
get_elastic_agent_vars()
get_elastic_agent_vars
# Check to see if we are already running
NUM_RUNNING=$(pgrep -cf "/bin/bash /sbin/so-elastic-agent-gen-installers")