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 8837f54e16..ebac863739 100755 --- a/meta/recipes-core/systemd/systemd-systemctl/systemctl +++ b/meta/recipes-core/systemd/systemd-systemctl/systemctl | |||
| @@ -57,7 +57,7 @@ class SystemdFile(): | |||
| 57 | if skip_re.match(line): | 57 | if skip_re.match(line): |
| 58 | continue | 58 | continue |
| 59 | 59 | ||
| 60 | line = line.rstrip("\n") | 60 | line = line.strip() |
| 61 | m = section_re.match(line) | 61 | m = section_re.match(line) |
| 62 | if m: | 62 | if m: |
| 63 | if m.group('section') not in self.sections: | 63 | if m.group('section') not in self.sections: |
