From 683699acd84c36b5555959d050575850532fc6b7 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 2 Jul 2019 16:50:42 -0700 Subject: [PATCH] Fixing scan torrents script --- scripts/scan_torrents.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/scan_torrents.sh b/scripts/scan_torrents.sh index 3076641..1cb5170 100755 --- a/scripts/scan_torrents.sh +++ b/scripts/scan_torrents.sh @@ -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