transmission: make sure we dont start twice on crashing xbmc

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-05-31 22:44:18 +02:00
parent da4ea9c045
commit 1b7ccf3a49

View File

@ -62,4 +62,6 @@ else
TRANSMISSION_ARG="$TRANSMISSION_ARG -T"
fi
transmission-daemon $TRANSMISSION_ARG &>$LOG_FILE
if [ ! $(pidof transmission-daemon) ];then
transmission-daemon $TRANSMISSION_ARG &>$LOG_FILE
fi