summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcloud-init-run-module.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cloud-init-run-module.py b/cloud-init-run-module.py
index 1877ab2c..3e62f007 100755
--- a/cloud-init-run-module.py
+++ b/cloud-init-run-module.py
@@ -44,7 +44,9 @@ def main():
fail("Failed to get instance data\n\t%s" % traceback.format_exc(),log)
if cloud.sem_has_run(semname,freq):
- err("%s already ran %s" % (semname,freq),log)
+ msg="%s already ran %s" % (semname,freq)
+ sys.stderr.write("%\n" % msg)
+ log.debug(msg)
sys.exit(0)
try: