summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/config/cc_ubuntu_init_switch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_ubuntu_init_switch.py b/cloudinit/config/cc_ubuntu_init_switch.py
index c476c51c..3ab23a23 100644
--- a/cloudinit/config/cc_ubuntu_init_switch.py
+++ b/cloudinit/config/cc_ubuntu_init_switch.py
@@ -85,7 +85,7 @@ def handle(name, cfg, cloud, log, args):
log.warn("%s: target set to %s, expected one of: %s",
name, target, str(supported))
- if os.path.exists("/run/systemd/systemd"):
+ if os.path.exists("/run/systemd"):
current = "systemd"
else:
current = "upstart"