FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ensure that cleanup() runs if terminated by the user · andreascian/python-gitlab@17914a3 · GitHub

Repository navigation

Commit 17914a3

Browse files
committed
ensure that cleanup() runs if terminated by the user
1 parent 58106a0 commit 17914a3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tools/build_test_env.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ cleanup() {
5959
}
6060
[ -z "${BUILD_TEST_ENV_AUTO_CLEANUP+set}" ] || {
6161
trap cleanup EXIT
62+
trap 'exit 1' HUP INT TERM
6263
}
6364

6465
docker run --name gitlab-test --detach --publish 8080:80 \

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL