Skip to content

Commit e5ee0bd

Browse files
committed
replace rm_rf instead of rm_rf so we can handled StandardError in the uploading thread.
Fixes #124
1 parent 808609d commit e5ee0bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/logstash/outputs/s3/temporary_file.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def key
5151
# a sandbox.
5252
def delete!
5353
@fd.close rescue IOError # force close anyway
54-
FileUtils.rm_rf(@temp_path, :secure => true)
54+
FileUtils.rm_r(@temp_path, :secure => true)
5555
end
5656

5757
def empty?

0 commit comments

Comments
 (0)