mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
skip absolute path creation for old_src, not needed with the new relative links
This commit is contained in:
@@ -293,8 +293,6 @@ def main():
|
||||
changed = True
|
||||
elif prev_state == 'link':
|
||||
old_src = os.readlink(path)
|
||||
if not os.path.isabs(old_src):
|
||||
old_src = os.path.join(os.path.dirname(path), old_src)
|
||||
if old_src != src:
|
||||
changed = True
|
||||
elif prev_state == 'hard':
|
||||
|
||||
Reference in New Issue
Block a user