summaryrefslogtreecommitdiff
path: root/dist/s_all
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-08-19 10:25:12 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-08-19 10:25:12 +1000
commitf51090d1d7085d08e3e2462c0098fba17081708d (patch)
tree9adc9803f97ba88f0107211e8b452cd8d0ad429e /dist/s_all
parent1a9c80a96a6091f4759aabdaa4340176aa0790ff (diff)
downloadmongo-f51090d1d7085d08e3e2462c0098fba17081708d.tar.gz
s_all: line 76: return: can only `return' from a function or sourced script
Diffstat (limited to 'dist/s_all')
-rw-r--r--dist/s_all4
1 files changed, 1 insertions, 3 deletions
diff --git a/dist/s_all b/dist/s_all
index 2ea0282e8b2..761bd936183 100644
--- a/dist/s_all
+++ b/dist/s_all
@@ -7,7 +7,7 @@ trap 'rm -f $t *.pyc __tmp __wt.*' 0 1 2 3 13 15
# We require python which may not be installed.
type python > /dev/null 2>&1 || {
echo 's_all: python not found'
- return 1
+ exit 1
}
run()
@@ -72,5 +72,3 @@ run "sh ./s_whitespace" "Checking whitespace"
run "sh ./s_docs" "Generating documentation"
echo 'dist/s_all run finished'
-
-return 0