Commit daeb5d48 authored by thomas.forbriger's avatar thomas.forbriger

csbackchk: fix return in try-except-else conditional

parent c23a7d55
......@@ -268,6 +268,7 @@ def main(argv=None):
sys.stderr.write("unknown execption!")
logger.getLogger().error(abortmessage)
sys.stderr.write(abortmessage)
return 999
else:
logger.getLogger().info("Checks performed.")
return 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment