about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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