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

pull/1044/head
Aleksej Romanov 12 years ago
parent c04f00e3a6
commit 6223bba941

@ -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…
Cancel
Save