diff options
author | Richard Hansen <rhansen@rhansen.org> | 2016-01-23 02:44:33 -0500 |
---|---|---|
committer | Richard Hansen <rhansen@rhansen.org> | 2016-01-31 16:12:58 -0500 |
commit | 17914a3572954f605699ec5c74e0c31d96a5dab8 (patch) | |
tree | cf39ae0fe2c52d9dd2c0852d811aaf3677334d9a | |
parent | 58106a0fd16b119f20e4837194c4d7aab3ab89b4 (diff) | |
download | gitlab-17914a3572954f605699ec5c74e0c31d96a5dab8.tar.gz |
ensure that cleanup() runs if terminated by the user
-rwxr-xr-x | tools/build_test_env.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/build_test_env.sh b/tools/build_test_env.sh index 3810758..5acbf7b 100755 --- a/tools/build_test_env.sh +++ b/tools/build_test_env.sh @@ -59,6 +59,7 @@ cleanup() { } [ -z "${BUILD_TEST_ENV_AUTO_CLEANUP+set}" ] || { trap cleanup EXIT + trap 'exit 1' HUP INT TERM } docker run --name gitlab-test --detach --publish 8080:80 \ |