diff options
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-systemd.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass index 10553c574..c6a2e6986 100644 --- a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass @@ -80,7 +80,7 @@ def SystemdUnit(unit): base = self.unit.replace('dbus-', '') base = base.replace('.%s' % cls, '') if self.is_instance: - base = base.rstrip('@%s' % self.instance) + base = base.replace('@%s' % self.instance, '') if self.is_template: base = base.rstrip('@') return base |