about summary refs log tree commit homepage
path: root/bin/dtas-readahead
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dtas-readahead')
-rwxr-xr-xbin/dtas-readahead2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dtas-readahead b/bin/dtas-readahead
index 75bfbe8..6da5f88 100755
--- a/bin/dtas-readahead
+++ b/bin/dtas-readahead
@@ -205,7 +205,7 @@ begin
     timeout = 0 if timeout < 0
   else
     work.each_value(&:close).clear
-    fp.close if fp && !fp.closed?
+    fp.close if fp
     fp = timeout = nil
   end
   r = w.to_io.wait_readable(timeout)