diff options
author | hut <hut@lavabit.com> | 2009-06-22 00:21:29 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-06-22 00:21:29 +0200 |
commit | 8e64767fff2746c1fa501d59e53db6bc22018cb6 (patch) | |
tree | 46f077f7ab8d1187bff0d1a3bea2224f2ed46aa7 /code | |
parent | 9f55a155d241e102812ea6b5acf60f8f159c9e44 (diff) | |
download | ranger-8e64767fff2746c1fa501d59e53db6bc22018cb6.tar.gz |
fixed bug when going to a nonexistent dir
Diffstat (limited to 'code')
-rw-r--r-- | code/fm.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/code/fm.rb b/code/fm.rb index b5ef5c1a..1b3e8b69 100644 --- a/code/fm.rb +++ b/code/fm.rb @@ -164,6 +164,7 @@ module Fm @pwd.restore if @pwd @marked = [] dir = File.expand_path(dir) + return unless File.exists? dir oldpath = @path.dup |