This commit is contained in:
Alexis Lahouze 2013-10-01 02:29:18 +02:00
parent da0c7a4ed6
commit 1f29c8cab6

View File

@ -244,12 +244,11 @@ function _ssh_agent_plugin_add_identities() {
else else
# Agent has identities added, check if the ones we want are present, add them if not. # Agent has identities added, check if the ones we want are present, add them if not.
local _ssh_agent_plugin_identity local _ssh_agent_plugin_identity
local _ssh_agent_plugin_identity_path
for _ssh_agent_plugin_identity in ${^_ssh_agent_plugin_identities}; do for _ssh_agent_plugin_identity in ${^_ssh_agent_plugin_identities}; do
_ssh_agent_plugin_debug "Handling identity ${_ssh_agent_plugin_identity}." _ssh_agent_plugin_debug "Handling identity ${_ssh_agent_plugin_identity}."
local _ssh_agent_plugin_identity_path
_ssh_agent_plugin_identity_path="${_ssh_agent_plugin_directory}/${_ssh_agent_plugin_identity}" _ssh_agent_plugin_identity_path="${_ssh_agent_plugin_directory}/${_ssh_agent_plugin_identity}"
if [ -r "${_ssh_agent_plugin_identity_path}" ]; then if [ -r "${_ssh_agent_plugin_identity_path}" ]; then