Updated comments.
This commit is contained in:
parent
6b794373f2
commit
4e5fee870f
3 changed files with 2 additions and 5 deletions
1
.bashrc
1
.bashrc
|
@ -24,6 +24,7 @@ _agent_prompt_command() {
|
|||
_unlock_agents_file
|
||||
_SSH_PROMPT_ERROR_ISSUED=0
|
||||
else
|
||||
# Failed to find a new socket.
|
||||
if [[ -z "$(egrep -v '^$' ~/.ssh/agents)" ]]; then
|
||||
((${_SSH_PROMPT_ERROR_ISSUED:-0} == 0)) && {
|
||||
echo "$(tput setaf 1)Lost connection to ssh-agent - no alternate available!$(tput op)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue