return agentfile

This commit is contained in:
Jakobus Schürz 2023-03-10 21:19:25 +01:00
parent df226ec695
commit 3af424914f

View file

@ -173,9 +173,11 @@ agent_start_or_restart () {
#logdebug "ssh-agent for identity »$ssh_identity«: $agentfile"
$createonly && logtrace "current loaded keys after action:
$(ssh_runinagent $agentfile ssh-add -l)"
echo $agentfile
ret=0
else
logwarning "ssh-identity »$ssh_identity« is not configured. Please create $identitydir and add keys"
echo $agentfile
ret=2
fi