diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -510,7 +510,8 @@ static void torrent_list_check_new_downloads_callback(int id, const char *name, path_join(item_path, components, 2); const char *download_finished_args[] = { download_finished_script, "rss", item_path, NULL }; - program_exec(download_finished_args, NULL, NULL); + if(file_exists(download_finished_script) == 0) + program_exec(download_finished_args, NULL, NULL); } } else { if(id >= unfinished_torrents->size) { |