diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-08-19 10:25:12 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-08-19 10:25:12 +1000 |
commit | f51090d1d7085d08e3e2462c0098fba17081708d (patch) | |
tree | 9adc9803f97ba88f0107211e8b452cd8d0ad429e /dist/s_all | |
parent | 1a9c80a96a6091f4759aabdaa4340176aa0790ff (diff) | |
download | mongo-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_all | 4 |
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 |