Don't lint systemd override files

This commit is contained in:
Alexandre Aubin 2020-11-28 18:31:54 +01:00
parent 14a199a944
commit 657c33e575

View file

@ -624,6 +624,11 @@ class Configurations(TestSuite):
if not filename.endswith(".service"): if not filename.endswith(".service"):
continue continue
# Some apps only provide an override conf file, which is different
# from the full/base service config (c.f. ffsync)
if "override" in filename:
continue
try: try:
content = open(app.path + "/conf/" + filename).read() content = open(app.path + "/conf/" + filename).read()
except Exception as e: except Exception as e: