about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-24 04:25:13 +0200
committerhut <hut@lavabit.com>2009-07-24 04:25:13 +0200
commit90cbe8c80208500a3cdb9f2630dcc4cc31a81456 (patch)
treed21cbc886b6cea7f142c4e33e90ef6e167edcfac
parent96f6089e8f1de2c1a38accecb621827730a70a26 (diff)
downloadranger-90cbe8c80208500a3cdb9f2630dcc4cc31a81456.tar.gz
fix --debug
-rwxr-xr-xranger3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger b/ranger
index 370d52f1..9bf77da6 100755
--- a/ranger
+++ b/ranger
@@ -28,6 +28,7 @@ $LOAD_PATH.unshift( MYDIR )
 ARGV.shift(2) if ARGV.first == '--workaround'
 
 pwd = nil
+arg_debug = false
 
 while arg = ARGV.shift
 	case arg
@@ -134,7 +135,7 @@ rescue LoadError
 	abort "Can't find colorscheme at #{path}"
 end
 
-if defined? arg_debug
+if arg_debug
 	Option.debug_level = 3
 end