changed = True when changing symlink referent, #1008. Needed for tests.
This commit is contained in:
parent
c04f00e3a6
commit
6223bba941
1 changed files with 1 additions and 0 deletions
|
@ -340,6 +340,7 @@ def main():
|
|||
if old_src != src:
|
||||
os.unlink(path)
|
||||
os.symlink(src, path)
|
||||
changed = True
|
||||
else:
|
||||
module_fail_json(dest=path, src=src, msg='unexpected position reached')
|
||||
|
||||
|
|
Loading…
Reference in a new issue