[cli] check for the ssh PID var instead of SOCKET

This commit is contained in:
Hylke Bons 2010-10-07 22:59:46 +01:00
parent 71771b09d6
commit f9cba69c41

View file

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