1
0
mirror of synced 2025-12-21 10:57:10 -05:00

Manually fix Windows sshd code example in all languages (#20598)

Fixes https://github.com/github/docs/issues/8516
This commit is contained in:
James M. Greene
2021-07-29 14:06:38 -05:00
committed by GitHub
parent b13e306b0c
commit a92fe00acc
9 changed files with 14 additions and 63 deletions

View File

@@ -48,7 +48,7 @@ agent_start () {
agent_load_env
# agent_run_state: 0=agent running w/ key; 1=agent w/o key; 2= agent not running
# agent_run_state: 0=agent running w/ key; 1=agent w/o key; 2=agent not running
agent_run_state=$(ssh-add -l >| /dev/null 2>&1; echo $?)
if [ ! "$SSH_AUTH_SOCK" ] || [ $agent_run_state = 2 ]; then