From 6223bba94160c60153448655803d084f7eaa5168 Mon Sep 17 00:00:00 2001 From: Aleksej Romanov Date: Thu, 13 Sep 2012 20:40:19 +0700 Subject: [PATCH] changed = True when changing symlink referent, #1008. Needed for tests. --- library/file | 1 + 1 file changed, 1 insertion(+) diff --git a/library/file b/library/file index 5015c5d5852..95ec4c9a251 100755 --- a/library/file +++ b/library/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')