Echo that a download is being started

This commit is contained in:
Tony Blyler 2015-03-01 00:33:53 -05:00
parent 30b0258294
commit 67198d1021

View file

@ -344,6 +344,7 @@ while true; do
fi fi
# start the download and record the PID # start the download and record the PID
echo "Started download for ${torrent_name} (${TORRENT_QUEUE[$torrent_hash]})"
rsync -hrvP --inplace "${SSH_USER}@${SSH_SERVER}:\"${SSH_SERVER_DOWNLOAD_PATH}/${torrent_name}"\" "${TORRENT_TMP_DOWNLOAD}/" > /dev/null & rsync -hrvP --inplace "${SSH_USER}@${SSH_SERVER}:\"${SSH_SERVER_DOWNLOAD_PATH}/${torrent_name}"\" "${TORRENT_TMP_DOWNLOAD}/" > /dev/null &
RUNNING_RSYNCS[${torrent_hash}]=$! RUNNING_RSYNCS[${torrent_hash}]=$!
fi fi