summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/docs-create-example-outputs.py2
-rw-r--r--bin/docs-validate.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/bin/docs-create-example-outputs.py b/bin/docs-create-example-outputs.py
index 30dc0eef..6e59d9f9 100644
--- a/bin/docs-create-example-outputs.py
+++ b/bin/docs-create-example-outputs.py
@@ -14,6 +14,6 @@ if __name__ == "__main__":
print "OK"
else:
print "Not all example names and suffixes are unique! Please correct the errors listed above and try again."
- sys.exit(0)
+ sys.exit(1)
SConsExamples.createAllExampleOutputs(os.path.join('doc','user'))
diff --git a/bin/docs-validate.py b/bin/docs-validate.py
index c445c3f9..f888c219 100644
--- a/bin/docs-validate.py
+++ b/bin/docs-validate.py
@@ -25,3 +25,4 @@ if __name__ == "__main__":
print "OK"
else:
print "Validation failed! Please correct the errors above and try again."
+ sys.exit(1)