Always start with a new ssh-agent.
This commit is contained in:
parent
fd7b7093ae
commit
836dc93fbb
|
@ -16,11 +16,7 @@ start() {
|
||||||
|
|
||||||
echo -n "Starting SparkleShare... "
|
echo -n "Starting SparkleShare... "
|
||||||
mkdir -p /tmp/sparkleshare/
|
mkdir -p /tmp/sparkleshare/
|
||||||
if [ -n "$SSH_AGENT_PID" ]; then
|
ssh-agent mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" $2 &
|
||||||
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" $2 &
|
|
||||||
else
|
|
||||||
ssh-agent mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" $2 &
|
|
||||||
fi
|
|
||||||
echo $! > ${pidfile}
|
echo $! > ${pidfile}
|
||||||
echo "Done."
|
echo "Done."
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue