Permalink
Browse files

[COOK-732] link to file in swarm not created if torrent already compl…

…etely downloaded
  • Loading branch information...
hh authored and jtimberman committed Aug 30, 2011
1 parent 21930af commit 08de3b129f73d0e48575741557be015ab30ffffe
Showing with 1 addition and 0 deletions.
  1. +1 −0 transmission/providers/torrent_file.rb
@@ -58,6 +58,7 @@ def load_current_resource
new_resource.updated_by_last_action(true)
else
Chef::Log.debug("Downloading #{@new_resource}...#{@torrent.percent_done * 100}% complete")
+ move_and_clean_up if new_resource.continue_seeding # needed if torrent already in swarm
end
end
end

0 comments on commit 08de3b1

Please sign in to comment.