diff options
author | Himanshu Shekhar <himanshushekharb16@gmail.com> | 2017-04-30 02:26:57 +0530 |
---|---|---|
committer | Himanshu Shekhar <himanshushekharb16@gmail.com> | 2017-04-30 02:26:57 +0530 |
commit | c58e00fa43a581456d3314d4fa13f42297decff1 (patch) | |
tree | 46d42ca5baaa944fc619971b8c0ad4b304494ee8 /scripts | |
parent | 31f960cefc9eae7d8d55a9877c3d4ceb3ec481d9 (diff) | |
download | psutil-c58e00fa43a581456d3314d4fa13f42297decff1.tar.gz |
exit with non-zero exit code on failure
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/internal/check_broken_links.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/internal/check_broken_links.py b/scripts/internal/check_broken_links.py index 7e54c4cd..7f69e9ee 100755 --- a/scripts/internal/check_broken_links.py +++ b/scripts/internal/check_broken_links.py @@ -145,6 +145,7 @@ def main(): for fail in fails: print(fail[1] + ' : ' + fail[0] + os.linesep) print('-' * 20) + sys.exit(1) if __name__ == '__main__': |