Fixing scan torrents script

This commit is contained in:
Dessalines 2019-07-02 16:50:42 -07:00
parent 9244bc11b5
commit 683699acd8
1 changed files with 2 additions and 1 deletions

View File

@ -71,10 +71,11 @@ for tmp_torrent_dir_sub in *; do
done
popd
. prune.sh
# Remove the temp dir
rm -rf "$tmp_torrent_dir"
# Scan the torrent dir for new files, and add them
node --max-old-space-size=8096 scan_torrent_files.js --dir "$torrents_dir"
. prune.sh