Skip to content

Commit 9ffefff

Browse files
committed
force is what i meant
1 parent ace8179 commit 9ffefff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/wallop.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def self.cleanup_channel(channel)
105105
rm(playlist_file_path) if File.exists?(playlist_file_path)
106106

107107
# delete all segments
108-
rm(Dir.glob("#{transcoding_path}/#{channel}*.ts"))
108+
rm(Dir.glob("#{transcoding_path}/#{channel}*.ts"), :force => true)
109109
rescue Errno::ENOENT
110110
end
111111

0 commit comments

Comments
 (0)