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 ebac863739..990de1ab39 100755 --- a/meta/recipes-core/systemd/systemd-systemctl/systemctl +++ b/meta/recipes-core/systemd/systemd-systemctl/systemctl | |||
| @@ -172,7 +172,7 @@ class SystemdUnit(): | |||
| 172 | def _path_for_unit(self, unit): | 172 | def _path_for_unit(self, unit): |
| 173 | for location in locations: | 173 | for location in locations: |
| 174 | path = self.root / location / "system" / unit | 174 | path = self.root / location / "system" / unit |
| 175 | if path.exists(): | 175 | if path.exists() or path.is_symlink(): |
| 176 | return path | 176 | return path |
| 177 | 177 | ||
| 178 | raise SystemdUnitNotFoundError(self.root, unit) | 178 | raise SystemdUnitNotFoundError(self.root, unit) |
