diff --git a/package_linter.py b/package_linter.py index 9b83ec8..8f02424 100755 --- a/package_linter.py +++ b/package_linter.py @@ -1222,7 +1222,7 @@ class Configurations(TestSuite): else: Level = Warning - matches = re.findall(r"^ *(User|Group)=(\S+)", content, flags=re.MULTILINE) + matches = re.findall(r"^ *(User)=(\S+)", content, flags=re.MULTILINE) if not any(match[0] == "User" for match in matches): yield Level( "You should specify a 'User=' directive in the systemd config !"