Fixing scan torrents script
This commit is contained in:
parent
9244bc11b5
commit
683699acd8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue