summaryrefslogtreecommitdiff
path: root/lib/tempfile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tempfile.rb')
-rwxr-xr-xlib/tempfile.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 752fd488f8..4061b170a8 100755
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -307,7 +307,7 @@ class Tempfile < DelegateClass(File)
if pid == $$
path, tmpfile, cleanlist = *data
- print "removing ", path, "..." if $DEBUG
+ STDERR.print "removing ", path, "..." if $DEBUG
tmpfile.close if tmpfile
@@ -317,7 +317,7 @@ class Tempfile < DelegateClass(File)
cleanlist.delete(path) if cleanlist
end
- print "done\n" if $DEBUG
+ STDERR.print "done\n" if $DEBUG
end
}
end