mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
dont hardlink symlinks (they could be relative)
This commit is contained in:
parent
b985011a00
commit
e64b87b99b
|
@ -2564,7 +2564,7 @@ class Up2k(object):
|
|||
|
||||
try:
|
||||
if "hardlink" in flags:
|
||||
os.link(fsenc(src), fsenc(dst))
|
||||
os.link(fsenc(absreal(src)), fsenc(dst))
|
||||
linked = True
|
||||
except Exception as ex:
|
||||
self.log("cannot hardlink: " + repr(ex))
|
||||
|
|
Loading…
Reference in a new issue