fix broken variable
This commit is contained in:
parent
4acb1660f4
commit
add7f40799
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ fi
|
||||||
# start ssh-agent if not already running
|
# start ssh-agent if not already running
|
||||||
if [[ ! -S ${SSH_AUTH_SOCK} ]]; then
|
if [[ ! -S ${SSH_AUTH_SOCK} ]]; then
|
||||||
# read environment if possible
|
# read environment if possible
|
||||||
source ssh_env 2> /dev/null
|
source ${ssh_env} 2> /dev/null
|
||||||
|
|
||||||
if ! ps -U ${LOGNAME} -o pid,ucomm | grep -q -- "${SSH_AGENT_PID:--1} ssh-agent"; then
|
if ! ps -U ${LOGNAME} -o pid,ucomm | grep -q -- "${SSH_AGENT_PID:--1} ssh-agent"; then
|
||||||
eval "$(ssh-agent | sed '/^echo /d' | tee ${ssh_env})"
|
eval "$(ssh-agent | sed '/^echo /d' | tee ${ssh_env})"
|
||||||
|
|
Loading…
Reference in a new issue