summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/main.py b/ranger/main.py
index b6af145d..d2a931fd 100644
--- a/ranger/main.py
+++ b/ranger/main.py
@@ -80,5 +80,5 @@ def main():
 			my_ui.destroy()
 
 		if args.cd_after_exit:
-			try: sys.__stderr__.write(env.pwd.path)
+			try: sys.__stderr__.write(my_fm.env.pwd.path)
 			except: pass