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

csbackchk: fix return in try-except-else conditional

parent c23a7d55
...@@ -268,6 +268,7 @@ def main(argv=None): ...@@ -268,6 +268,7 @@ def main(argv=None):
sys.stderr.write("unknown execption!") sys.stderr.write("unknown execption!")
logger.getLogger().error(abortmessage) logger.getLogger().error(abortmessage)
sys.stderr.write(abortmessage) sys.stderr.write(abortmessage)
return 999
else: else:
logger.getLogger().info("Checks performed.") logger.getLogger().info("Checks performed.")
return 0 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