mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Don't print Agent Forwarding env
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user