Skip to content

Commit

Permalink
fix(quick-start-test): correct error code returned from trap
Browse files Browse the repository at this point in the history
  • Loading branch information
minrwhite authored and gr2m committed Jan 10, 2017
1 parent fa35698 commit b5f4a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/quick-start-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b5f4a2b

Please sign in to comment.