Make verify-flags-underscore.py return error on failure

We were running it in shippable and travis, but since it didn't return
an error it wasn't actually catching things.
This commit is contained in:
Eric Paris
2015-08-21 01:41:33 -07:00
parent a945785409
commit 03f4e52812
3 changed files with 9 additions and 3 deletions

View File

@@ -236,6 +236,7 @@ def main():
bad_lines.sort()
for (relname, line) in bad_lines:
print("%s:%s" % (relname, line))
return 1
if __name__ == "__main__":
sys.exit(main())