about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/ranger.rb b/ranger.rb
index 26e1b79f..797e978c 100755
--- a/ranger.rb
+++ b/ranger.rb
@@ -39,8 +39,6 @@ Debug.setup( :name   => 'nyuron',
              :file   => '/tmp/errorlog',
              :level  => 3 )
 
-ERROR_STREAM = File.open('/tmp/errorlog', 'a')
-
 if pwd and !ARGV.empty? and !File.directory?(pwd)
 	file = Directory::Entry.new(pwd)
 	file.get_data
@@ -62,7 +60,6 @@ ensure
 	log ""
 	closei if CLI.running?
 	Fm.dump
-	ERROR_STREAM.close
 
 	# Kill all other threads
 	for thr in Thread.list