transadd fixed?

This commit is contained in:
inigoortega 2020-04-11 18:50:08 +02:00
parent 21315328f6
commit 31da2d058a
1 changed files with 4 additions and 0 deletions

View File

@ -3,4 +3,8 @@
pgrep -x transmission-da > /dev/null || (transmission-daemon && notify-send \
"Starting Transmission daemon...")
while ! pgrep -x transmission-da > /dev/null; do
sleep 1
done
transmission-remote -a "$@" && notify-send "Transmission-daemon" "Torrent added"