summaryrefslogtreecommitdiffstats
path: root/mcp/scripts/log.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/scripts/log.sh')
-rwxr-xr-xmcp/scripts/log.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcp/scripts/log.sh b/mcp/scripts/log.sh
index 1ae0953af..8c4bf3ef5 100755
--- a/mcp/scripts/log.sh
+++ b/mcp/scripts/log.sh
@@ -14,6 +14,8 @@ DEPLOY_LOG=$1
OPNFV_TMP_LOG="opnfv_fuel_logs"
[ -n "${DEPLOY_LOG}" ] || exit 0
+# shellcheck disable=SC1090
+[ -n "${SSH_OPTS}" ] || source "$(dirname "${BASH_SOURCE[0]}")/globals.sh"
# ssh to cfg01
# shellcheck disable=SC2086,2087