Permalink
Browse files

Fix file closing

  • Loading branch information...
ripienaar committed Jul 12, 2010
1 parent c1ea6c5 commit f660fe88fe84fd5419cedfcc79a3800d9c916ee6
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ec2boot/util.rb
View
@@ -23,7 +23,7 @@ def self.get_url(url, file=nil)
response = http.get(uri.path) do |r|
dest_file.write r
end
- close dest_file
+ dest_file.close
else
response = http.get(uri.path)
end

0 comments on commit f660fe8

Please sign in to comment.