about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger.rb b/ranger.rb
index 441a3a82..bc74982c 100755
--- a/ranger.rb
+++ b/ranger.rb
@@ -91,7 +91,7 @@ ensure
 	CLI.stop_mouse
 	Fm.dump
 
-	Fm.dump_pwd_to_3 if Option.cd
+	Fm.dump_pwd_to_3 if Option.cd rescue nil
 
 	# Kill all other threads
 	for thr in Thread.list