From d2f15a461adcda801b373d8fa0dfbb9c993e22f5 Mon Sep 17 00:00:00 2001 From: Wouter Horlings Date: Tue, 3 Dec 2019 14:37:32 +0100 Subject: [PATCH] Updated logcheck script, it returns 1 if their are logs missing --- logcheck.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/logcheck.py b/logcheck.py index e2f5341..039df04 100644 --- a/logcheck.py +++ b/logcheck.py @@ -32,4 +32,6 @@ def logcheck(): if __name__ == '__main__': - logcheck() + error = logcheck() + if error != None: + sys.exit(1)