From 1a12f6c881f9e28154f3d09a269d4ae802bfc87d Mon Sep 17 00:00:00 2001 From: Sebastian Haderecker Date: Tue, 16 Apr 2019 08:50:14 +0000 Subject: [PATCH] Don't print Agent Forwarding env --- cloud/deploy_ansible_otc_t-pot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/deploy_ansible_otc_t-pot.sh b/cloud/deploy_ansible_otc_t-pot.sh index 2f082133..4c9f343b 100755 --- a/cloud/deploy_ansible_otc_t-pot.sh +++ b/cloud/deploy_ansible_otc_t-pot.sh @@ -21,7 +21,7 @@ if ! hash jq 2>/dev/null; then fi # Check for Agent Forwarding -if ! printenv | grep SSH_AUTH_SOCK; then +if ! printenv | grep SSH_AUTH_SOCK > /dev/null; then echo "Agent forwarding seems to be disabled." echo "In order to let Ansible do its work, please enable it." exit 1