Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Mar 4, 2024
1 parent c1bc737 commit 2e2546b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/drevops/setup-ssh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ if [ -n "${!file_var-}" ] && [ "${!file_var}" != "${file}" ]; then
fi

if [ -z "${SSH_AGENT_PID:-}" ]; then
if ! pgrep -u "${USER}" ssh-agent >/dev/null; then
if ! pgrep -ax ssh-agent >/dev/null; then
note "Starting SSH agent."
eval "$(ssh-agent)"
else
Expand Down

0 comments on commit 2e2546b

Please sign in to comment.