about summary refs log tree commit diff stats
path: root/ranger.rb
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-03 13:47:04 +0200
committerhut <hut@lavabit.com>2009-07-03 13:47:04 +0200
commit2800fd920b9c400ba178c94c77ae77c999f28849 (patch)
tree529db79b379f9ff073ae8ab2364474e6f316d015 /ranger.rb
parent40c86e8ca778c058528786a685a0e9d81e0b144e (diff)
downloadranger-2800fd920b9c400ba178c94c77ae77c999f28849.tar.gz
removed unused ERROR_STREAM
Diffstat (limited to 'ranger.rb')
-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