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)