Load dependencies after requirements check

This commit is contained in:
Sorin Ionescu 2012-09-30 16:08:27 -04:00
parent d7fb7cd215
commit 875def4f43

View File

@ -11,14 +11,14 @@
# Sorin Ionescu <sorin.ionescu@gmail.com> # Sorin Ionescu <sorin.ionescu@gmail.com>
# #
# Load dependencies.
pmodload 'helper'
# Return if requirements are not found. # Return if requirements are not found.
if (( ! $+commands[ssh-agent] )); then if (( ! $+commands[ssh-agent] )); then
return 1 return 1
fi fi
# Load dependencies.
pmodload 'helper'
_ssh_agent_env="${HOME}/.ssh/environment-${HOST}" _ssh_agent_env="${HOME}/.ssh/environment-${HOST}"
_ssh_agent_forwarding= _ssh_agent_forwarding=