Skip to content

Commit

Permalink
Merge branch 'main' of github.com:masahide/OmniSSHAgent into main
Browse files Browse the repository at this point in the history
  • Loading branch information
masahide committed Oct 26, 2024
2 parents e0e0fd4 + 4e50a03 commit 52980d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/ubuntu.wsl2-ssh-agent-proxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi
__get_proxy() {
echo "Downloading ${NAME}.gz"
mkdir -p "${PROXYCMD_DIR}"
curl "${REPO_URL}/releases/${VER_PATH}/${NAME}.gz" -sL | gunzip >"${CMD}"
curl "${REPO_URL}/releases/${VER_PATH}/${NAME}.gz" -sL | gunzip > "${CMD}"
chmod +x "${CMD}"
}

Expand All @@ -34,7 +34,7 @@ setup_proxy() {
chmod 700 "${SSH_AUTH_SOCK_DIR}"
fi

(setsid "${CMD}" >>"${PROXYCMD_DIR}/${NAME}.log" 2>&1 &)
(setsid "${CMD}" >> "${PROXYCMD_DIR}/${NAME}.log" 2>&1 &)
}

setup_proxy

0 comments on commit 52980d2

Please sign in to comment.