change debug to logging

This commit is contained in:
Jakobus Schürz 2021-10-14 08:20:27 +02:00
parent 056b632204
commit 86a9254b25

View file

@ -369,10 +369,10 @@ ssh-runinagent () {
}
if [ $SSH_TTY ] ; then
echo remote >&2
logdebug "run with forwarded ssh-agent"
res=1
else
echo local >&2
logdebug "run with local ssh-agent"
agent-start-or-restart $ssh_identity
! $createonly && agent-load-identity-keys $ssh_identity
res=0