Avoid ssowat config persistent error on /doc

This commit is contained in:
Josué Tille 2024-03-01 08:12:10 +01:00
parent 7808953343
commit 2dd1357c50
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -992,8 +992,8 @@ class App(TestSuite):
def conf_json_persistent_tweaking(self):
if (
os.system(
"grep -q -nr '/etc/ssowat/conf.json.persistent' %s/*/* 2>/dev/null"
% self.path
"grep -nr '/etc/ssowat/conf.json.persistent' %s | grep -vq '^%s/doc' 2>/dev/null"
% (self.path, self.path)
)
== 0
):