changed = True when changing symlink referent, #1008. Needed for tests.

This commit is contained in:
Aleksej Romanov 2012-09-13 20:40:19 +07:00
parent c04f00e3a6
commit 6223bba941

View file

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