Skip to content

Commit ef85749

Browse files
committed
Make errorcodes.py return a non-zero code on failure
1 parent 81ed239 commit ef85749

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

buildscripts/errorcodes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import os
1010
import re
1111
import utils
12+
import sys
1213
from collections import defaultdict, namedtuple
1314
from optparse import OptionParser
1415

@@ -306,6 +307,7 @@ def main():
306307
replaceBadCodes(errors, next)
307308
else:
308309
print ERROR_HELP
310+
sys.exit(1)
309311

310312

311313
ERROR_HELP = """

0 commit comments

Comments
 (0)