(travis) Fix short-circuiting logic
[dbsrgits/DBIx-Class-Schema-Loader.git] / maint / travis-ci_scripts / 30_before_script.bash
index d533b75..bfb8350 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
 
 # poison the environment
 if [[ "$POISON_ENV" = "true" ]] ; then