summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHimanshu Shekhar <himanshushekharb16@gmail.com>2017-04-30 02:26:57 +0530
committerHimanshu Shekhar <himanshushekharb16@gmail.com>2017-04-30 02:26:57 +0530
commitc58e00fa43a581456d3314d4fa13f42297decff1 (patch)
tree46d42ca5baaa944fc619971b8c0ad4b304494ee8 /scripts
parent31f960cefc9eae7d8d55a9877c3d4ceb3ec481d9 (diff)
downloadpsutil-c58e00fa43a581456d3314d4fa13f42297decff1.tar.gz
exit with non-zero exit code on failure
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/internal/check_broken_links.py1
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__':