about summary refs log tree commit homepage
path: root/bin/mog
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mog')
-rwxr-xr-xbin/mog2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mog b/bin/mog
index a308db5..93434bc 100755
--- a/bin/mog
+++ b/bin/mog
@@ -128,7 +128,7 @@ begin
       if (!cat[:raw] && key =~ /^_big_info:/)
         mg.bigfile_write(key, STDOUT, {:verify => true})
       else
-        mg.get_file_data(key) { |fp| MogileFS::X.copy_stream(fp, STDOUT) }
+        mg.get_file_data(key, STDOUT)
       end
     end
   when 'ls'