Pipe ssh-agent output to debug log.
parent
c7d031f270
commit
f499e09e43
|
@ -261,7 +261,9 @@ section_end
|
|||
section "ssh-agent"
|
||||
if [ $PROFILE_SSH_AGENT -gt 0 ]; 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
|
||||
section_end
|
||||
|
|
Loading…
Reference in New Issue