Scripts: trc gets exec'd to save one process

master
Pierre Neidhardt 2014-09-11 11:44:55 +02:00
parent 0f5c5eb4b2
commit 3c18ed1ea2
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -28,7 +28,7 @@ check transmission-daemon transmission-remote-cli
[ $(ps -U $USER | grep -c transmission-da) -eq 0 ] && transmission-daemon
if [ $# -eq 0 ]; then
transmission-remote-cli
exec transmission-remote-cli
else
## The 'sleep' is needed here to give the daemon some time to start. 1 sec
## should be enough on most system.