mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 20:42:11 +00:00
Don't print Agent Forwarding env
This commit is contained in:
parent
280953b456
commit
1a12f6c881
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue