summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/core/main.py b/ranger/core/main.py
index a17c6863..4bb4c48a 100644
--- a/ranger/core/main.py
+++ b/ranger/core/main.py
@@ -80,7 +80,8 @@ def main():
 				print(string)
 			from ranger.core.runner import Runner
 			from ranger.fsobject import File
-			runner = Runner(logfunc=print_function)
+			fm = FM()
+			runner = Runner(logfunc=print_function, fm=fm)
 			load_apps(runner, arg.clean)
 			runner(files=[File(target)], mode=arg.mode, flags=arg.flags)
 			return 1 if arg.fail_unless_cd else 0