Revert change in the startup script
This commit is contained in:
parent
65813ab213
commit
a313c38ad8
|
@ -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
|
||||||
# Use a new ssh-agent if the user doesn't have any unlocked keys added
|
|
||||||
# already. This prevents password prompts of various kinds from appearing.
|
|
||||||
ssh-add -l > /dev/null
|
|
||||||
if [ $? == 0 ]; then
|
|
||||||
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" $2 &
|
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" $2 &
|
||||||
else
|
else
|
||||||
ssh-agent mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" $2 &
|
ssh-agent mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" $2 &
|
||||||
|
@ -64,3 +60,4 @@ case $1 in
|
||||||
echo "Usage: sparkleshare {start|stop|restart|help}"
|
echo "Usage: sparkleshare {start|stop|restart|help}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue