summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/stages.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/stages.py b/cloudinit/stages.py
index 6893afd9..ed995628 100644
--- a/cloudinit/stages.py
+++ b/cloudinit/stages.py
@@ -425,6 +425,8 @@ class Init(object):
# is registered to more than one content-type).
continue
if mod not in inited_handlers:
+ # Said module was never inited in the first place, so lets
+ # not attempt to finalize those that never got called.
continue
called.append(mod)
try: