Only have 2 return codes: success and failure
This commit is contained in:
parent
13d74c8d3f
commit
8c0505a077
|
@ -123,7 +123,7 @@ def main():
|
|||
|
||||
# If we found nothing, return code 2
|
||||
if len(matches) == 0:
|
||||
sys.exit(2)
|
||||
sys.exit(1)
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
|
|
|
@ -124,7 +124,7 @@ def main():
|
|||
if any_verified and not any_fail:
|
||||
sys.exit(0)
|
||||
else:
|
||||
sys.exit(2)
|
||||
sys.exit(1)
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue