summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-13 04:14:03 +0200
committerhut <hut@lavabit.com>2009-06-13 04:14:03 +0200
commitbf5cb1214361b006878fa4a9ee7975564afd26f8 (patch)
treefc58c50cb64bff5a4b57b9d30e9a44300bb85033
parentbd627dc4f2d009642de3ada13cbdc547490baf68 (diff)
downloadranger-bf5cb1214361b006878fa4a9ee7975564afd26f8.tar.gz
fixed Marshal.load of rc
-rw-r--r--code/fm/fm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/fm/fm.rb b/code/fm/fm.rb
index 91b17f2d..1fb91080 100644
--- a/code/fm/fm.rb
+++ b/code/fm/fm.rb
@@ -42,7 +42,7 @@ module Fm
 		if (File.exists?(@rangerrc))
 			content = File.read(@rangerrc)
 			unless content.empty?
-				loaded = Marshal.load() rescue nil
+				loaded = Marshal.load(content) rescue nil
 				if Hash === loaded
 					@memory.update(loaded)
 				end