Add sync and sleep after torrent DL

This commit is contained in:
Taylor Helsper 2019-06-20 19:40:19 -05:00
parent 656f3500f9
commit bbe2bf9e8a

View File

@ -35,6 +35,8 @@ fi
# Download torrent
rm -rf $QUICKSYNC_DIR/blockchain_temp.torrent
wget -O $QUICKSYNC_DIR/blockchain_temp.torrent $QUICKSYNC_TORRENT_URL
sync
sleep 1
if [ ! -f $QUICKSYNC_DIR/blockchain_temp.torrent ]; then
echo "Torrent download failed...."