about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-19 00:15:07 +0200
committerhut <hut@lavabit.com>2009-07-19 00:15:07 +0200
commit31398215c22f0514b87387a1a1934c252b0767c5 (patch)
tree982b28216c714c3fe4e21305ff207da4345795c3
parent6f78d08613c87a7ea563ad3ca124d5cefbf31c53 (diff)
downloadranger-31398215c22f0514b87387a1a1934c252b0767c5.tar.gz
fixed bad errormessages in some cases
-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