Corrected name of $SSH_AGENT_PID environment variable from $SSH_AUTH_PID.

This commit is contained in:
Jeremy Malcolm 2011-03-01 18:56:15 -08:00
parent 83178e5fa0
commit b84bab78d5

View file

@ -16,7 +16,7 @@ start() {
echo -n "Starting SparkleShare... "
mkdir -p /tmp/sparkleshare/
if [ -n "$SSH_AUTH_PID" ]; then
if [ -n "$SSH_AGENT_PID" ]; then
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" $2 &
else
ssh-agent mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" $2 &