change output
This commit is contained in:
parent
c1ab74d6b7
commit
52c5414295
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ agent-start-or-restart () {
|
||||||
# sshsock=$SSH_AUTH_SOCK
|
# sshsock=$SSH_AUTH_SOCK
|
||||||
# sshpid=$SSH_AGENT_PID
|
# sshpid=$SSH_AGENT_PID
|
||||||
# unset SSH_AUTH_SOCK SSH_AGENT_PID
|
# unset SSH_AUTH_SOCK SSH_AGENT_PID
|
||||||
/bin/sh -c "unset SSH_AUTH_SOCK SSH_AGENT_PID; . $agentfile >/dev/null 2>&1; ssh-add -l >&2"
|
logdebug $(/bin/sh -c "unset SSH_AUTH_SOCK SSH_AGENT_PID; . $agentfile >/dev/null 2>&1; ssh-add -l >&2")
|
||||||
case $? in
|
case $? in
|
||||||
0|1)
|
0|1)
|
||||||
logdebug "agent is running" >&2
|
logdebug "agent is running" >&2
|
||||||
|
|
Loading…
Reference in a new issue