summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/config/cc_final_message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_final_message.py b/cloudinit/config/cc_final_message.py
index 3865332f..aff03c4e 100644
--- a/cloudinit/config/cc_final_message.py
+++ b/cloudinit/config/cc_final_message.py
@@ -37,7 +37,7 @@ def handle(_name, cfg, cloud, log, args):
if len(args) != 0:
msg_in = str(args[0])
else:
- msg_in = util.get_cfg_option_str(cfg, "final_message". msg_in)
+ msg_in = util.get_cfg_option_str(cfg, "final_message", "")
msg_in = msg_in.strip()
if not msg_in: