Fix a typo when checking for an SSH agent.

This commit is contained in:
Scott Wallace 2016-02-16 20:17:12 +00:00
parent 91c4fe431c
commit 4871fe2f4a

View file

@ -97,7 +97,7 @@ function start_agent {
} }
# Check if we already have an agent running and sourced # Check if we already have an agent running and sourced
if [ -z "${SSH_AUTH_SOCK}" -a -s "${PS1}" ]; then if [ -z "${SSH_AUTH_SOCK}" -a -n "${PS1}" ]; then
# Source SSH settings, if applicable # Source SSH settings, if applicable
if [ -f "${SSH_ENV}" ]; then if [ -f "${SSH_ENV}" ]; then
. "${SSH_ENV}" > /dev/null . "${SSH_ENV}" > /dev/null