Permalink
Browse files

fix(quick-start-test): correct error code returned from trap

  • Loading branch information...
1 parent fa35698 commit b5f4a2b9dc411ac5570ec9271910e2298f6ac6a1 @benwhite-deltas benwhite-deltas committed with gr2m Jan 10, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/quick-start-test.sh
@@ -2,7 +2,7 @@
HOODIE_FOLDER=$(pwd)
TEMP_ROOT=$(mktemp -d)
pushd $TEMP_ROOT
-trap "{ popd; rm -rf $TEMP_ROOT; exit 255; }" EXIT
+trap "{ CODE=$?; popd; rm -rf $TEMP_ROOT; exit $CODE; }" EXIT
## docs/guides/quickstart.rst:41

0 comments on commit b5f4a2b

Please sign in to comment.