change output

This commit is contained in:
Jakobus Schürz 2020-09-21 21:33:26 +02:00
parent c1ab74d6b7
commit 52c5414295

View file

@ -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