[cli] check for the ssh PID var instead of SOCKET
This commit is contained in:
parent
71771b09d6
commit
f9cba69c41
|
@ -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 &
|
||||
|
|
Loading…
Reference in a new issue