bugfix: exitcode always was 255

This commit is contained in:
DatuX 2019-10-16 09:28:21 +02:00 committed by GitHub
parent 3907c850a6
commit 67b21b4015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -818,7 +818,7 @@ try:
else:
verbose("{} OPERATION(S) FAILED!".format(failures))
#exit with the number of failures.
sys.exit(min(255,failed))
sys.exit(min(255,failures))
except Exception as e:
if args.debug: