summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/loader.py b/ranger/core/loader.py
index 3ba5b128..85e2cbb1 100644
--- a/ranger/core/loader.py
+++ b/ranger/core/loader.py
@@ -96,7 +96,7 @@ class CopyLoader(Loadable, FileManagerAware):
                 else:
                     self.description = "copying files from: " + self.one_file.dirname
                 for f in self.copy_buffer:
-                    if os.path.isdir(f.path):
+                    if os.path.isdir(f.path) and not os.path.islink(f.path):
                         for _ in shutil_g.copytree(src=f.path,
                                 dst=os.path.join(self.original_path, f.basename),
                                 symlinks=True,