]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
jsonschema: prints warning if we really do not have it
authorPhilippe Antoine <contact@catenacyber.fr>
Thu, 18 Nov 2021 08:36:55 +0000 (09:36 +0100)
committerJason Ish <jason.ish@oisf.net>
Fri, 3 Jun 2022 19:55:44 +0000 (13:55 -0600)
run.py

diff --git a/run.py b/run.py
index b1a46be5dca7302cfa8e340dcab6d9a527dbd372..292924e87ac05fadc85563c2d7f4a3130b9bbcc5 100755 (executable)
--- a/run.py
+++ b/run.py
@@ -948,7 +948,8 @@ def main():
     if args.self_test:
         return unittest.main(argv=[sys.argv[0]])
 
-    print("Warning: EVE files will not be validated: jsonschema module not found.")
+    if not VALIDATE_EVE:
+        print("Warning: EVE files will not be valided: jsonschema module not found.")
 
     TOPDIR = os.path.abspath(os.path.dirname(sys.argv[0]))