Commit a85ee916 authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME
Browse files

[common] Keep return afetr sys.exit()

parent 2f86cf43
......@@ -725,7 +725,9 @@ def check(prefix, type, names):
names = make_up_local_list(prefix, type, names)
sys.exit(sum([check_one(prefix, type, name) for name in names]))
n = sum([check_one(prefix, type, name) for name in names])
return n
def fetch_object(webapi, type, name, fields):
Supports Markdown
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