diff options
-rwxr-xr-x | meta/recipes-core/systemd/systemd-systemctl/systemctl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd-systemctl/systemctl b/meta/recipes-core/systemd/systemd-systemctl/systemctl index 514f747fe6..7fe751b397 100755 --- a/meta/recipes-core/systemd/systemd-systemctl/systemctl +++ b/meta/recipes-core/systemd/systemd-systemctl/systemctl | |||
@@ -202,7 +202,7 @@ class SystemdUnit(): | |||
202 | try: | 202 | try: |
203 | for dependent in config.get('Install', prop): | 203 | for dependent in config.get('Install', prop): |
204 | # expand any %i to instance (ignoring escape sequence %%) | 204 | # expand any %i to instance (ignoring escape sequence %%) |
205 | dependent = re.sub("([^%](%%)*)%i", "\\1{}".format(instance), dependent) | 205 | dependent = re.sub("([^%](%%)*)%i", "\\g<1>{}".format(instance), dependent) |
206 | wants = systemdir / "{}.{}".format(dependent, dirstem) / service | 206 | wants = systemdir / "{}.{}".format(dependent, dirstem) / service |
207 | add_link(wants, target) | 207 | add_link(wants, target) |
208 | 208 | ||