dont hardlink symlinks (they could be relative)

This commit is contained in:
ed 2023-05-12 20:41:09 +00:00
parent b985011a00
commit e64b87b99b

View file

@ -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))