aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/run-agent.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/run-agent.sh')
-rwxr-xr-xscripts/run-agent.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-agent.sh b/scripts/run-agent.sh
index c9ccb48..8694779 100755
--- a/scripts/run-agent.sh
+++ b/scripts/run-agent.sh
@@ -43,7 +43,7 @@ load_env() {
if [[ -z "${!key+x}" ]]; then
env_vars="$env_vars $key=$value"
fi
- done < "$env_file"
+ done < <(cat "$env_file"; echo "")
if [[ -n "$env_vars" ]]; then
eval "export $env_vars"
fi