about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger b/ranger
index e2073ba0..b3088ed1 100755
--- a/ranger
+++ b/ranger
@@ -22,7 +22,7 @@ $: << MYDIR = File.dirname(Pathname(__FILE__).realpath)
 ##--------------------------------------------------
 # parse arguments
 
-if ARGV[1] == '--workaround'
+if ARGV[0] == '--workaround'
 	ARGV.shift(2)
 	ARGV.unshift('--cd')
 end