Skip to content

Commit

Permalink
[COOK-732] link to file in swarm not created if torrent already compl…
Browse files Browse the repository at this point in the history
…etely downloaded
  • Loading branch information
hh authored and jtimberman committed Jan 5, 2012
1 parent 21930af commit 08de3b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transmission/providers/torrent_file.rb
Expand Up @@ -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
Expand Down

0 comments on commit 08de3b1

Please sign in to comment.