am d5415dc7
: Merge "Fix: exit code is 0 even when check-boot-jars.py fails"
* commit 'd5415dc778abffdf7a9abba52b093da7a20496be': Fix: exit code is 0 even when check-boot-jars.py fails
This commit is contained in:
commit
bc9ade722f
1 changed files with 3 additions and 3 deletions
|
@ -64,10 +64,10 @@ def CheckJar(jar):
|
|||
def main(argv):
|
||||
if len(argv) < 2:
|
||||
print __doc__
|
||||
sys.exit(1)
|
||||
return 1
|
||||
|
||||
if not LoadWhitelist(argv[0]):
|
||||
sys.exit(1)
|
||||
return 1
|
||||
|
||||
passed = True
|
||||
for jar in argv[1:]:
|
||||
|
@ -80,4 +80,4 @@ def main(argv):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main(sys.argv[1:])
|
||||
sys.exit(main(sys.argv[1:]))
|
||||
|
|
Loading…
Reference in a new issue