Commit 04defb53 authored by Filipe Brandenburger's avatar Filipe Brandenburger

Merge pull request #2806 from ddysher/exit-integration

Use EXIT pseudo-signal
parents 09a8efef bf42ea26
......@@ -150,6 +150,6 @@ cleanup()
exit 0
}
trap cleanup EXIT SIGINT
trap cleanup EXIT
while true; do read x; done
......@@ -33,7 +33,7 @@ cleanup() {
"${KUBE_ROOT}/hack/build-go.sh" "$@" cmd/integration
# Run cleanup to stop etcd on interrupt or other kill signal.
trap cleanup HUP INT QUIT TERM
trap cleanup EXIT
kube::etcd::start
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment