summaryrefslogtreecommitdiff
path: root/bin/cloud-init
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cloud-init')
-rwxr-xr-xbin/cloud-init2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cloud-init b/bin/cloud-init
index 479d715d..d1cd68ea 100755
--- a/bin/cloud-init
+++ b/bin/cloud-init
@@ -476,7 +476,7 @@ def status_wrapper(name, args, data_d=None, link_d=None):
v1['stage'] = mode
v1[mode]['start'] = time.time()
- write_json(status, status_path)
+ write_json(status_path, status)
util.sym_link(os.path.relpath(status_path, link_d), status_link,
force=True)