transadd now works well

This commit is contained in:
inigoortega 2020-04-12 14:21:58 +02:00
parent 0fd0137d74
commit 04f1932d32
1 changed files with 2 additions and 2 deletions

View File

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