(travis) Fix short-circuiting logic
[dbsrgits/DBIx-Class-Schema-Loader.git] / maint / travis-ci_scripts / 40_script.bash
index f7488d5..5fbe85f 100755 (executable)
@@ -3,7 +3,7 @@
 # this file is executed in a subshell - set up the common stuff
 source maint/travis-ci_scripts/common.bash
 
-if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] ; then return ; fi
+if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] ; then exit 0 ; fi
 
 run_harness_tests() {
   local -x HARNESS_OPTIONS=c