diff --git a/libnetwork/test/integration/dnet/helpers.bash b/libnetwork/test/integration/dnet/helpers.bash index d7f66a60e7..de69eb325d 100644 --- a/libnetwork/test/integration/dnet/helpers.bash +++ b/libnetwork/test/integration/dnet/helpers.bash @@ -254,7 +254,7 @@ function dnet_cmd() { } function dnet_exec() { - docker exec -it ${1} bash -c "$2" + docker exec -it ${1} bash -c "trap \"echo SIGHUP\" SIGHUP; $2" } function runc() {