From 2dd1357c50cdfef9da94a68a811dd3b029e776b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 1 Mar 2024 08:12:10 +0100 Subject: [PATCH] Avoid ssowat config persistent error on /doc --- package_linter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package_linter.py b/package_linter.py index 504581e..7f3ae56 100755 --- a/package_linter.py +++ b/package_linter.py @@ -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 ):