return agentfile
This commit is contained in:
parent
bbf612262c
commit
ec47d40cb9
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue