mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
only require absolute paths for hardlinks
This commit is contained in:
parent
eab6737209
commit
684921c1c1
1 changed files with 7 additions and 6 deletions
|
@ -280,6 +280,7 @@ def main():
|
|||
|
||||
elif state in ['link','hard']:
|
||||
|
||||
if state == 'hard':
|
||||
if os.path.isabs(src):
|
||||
abs_src = src
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue