Pipe ssh-agent output to debug log.

master
Icedream 2018-02-20 03:40:20 +01:00
parent c7d031f270
commit f499e09e43
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 3 additions and 1 deletions

View File

@ -261,7 +261,9 @@ section_end
section "ssh-agent" section "ssh-agent"
if [ $PROFILE_SSH_AGENT -gt 0 ]; then if [ $PROFILE_SSH_AGENT -gt 0 ]; then
if [ -z "$SSH_AUTH_SOCK" ]; then if [ -z "$SSH_AUTH_SOCK" ]; then
eval "$(ssh-agent -s)" eval "$(ssh-agent -s)" | while IFS= read -r line; do
log "$line"
done
fi fi
fi fi
section_end section_end