Do not pipe ssh-agent output to debug log.

master
Icedream 2018-02-20 16:24:44 +01:00
parent 1356c2a807
commit db237ce481
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 1 additions and 3 deletions

View File

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