From b1f576f9c76e449ed39e7ba054b72b9cd71ddbdb Mon Sep 17 00:00:00 2001 From: "Matthieu Baerts (NGI0)" Date: Mon, 2 Dec 2024 18:28:41 +0100 Subject: [PATCH] connect: disable trace Not really needed for this. Signed-off-by: Matthieu Baerts (NGI0) --- connect.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/connect.sh b/connect.sh index 530328c..feb5d27 100755 --- a/connect.sh +++ b/connect.sh @@ -1,5 +1,9 @@ -#! /bin/bash -x +#! /bin/bash +if [[ "${-}" =~ "x" ]]; then + export INPUT_TRACE=1 +fi docker exec -it \ + -e "INPUT_TRACE=${INPUT_TRACE:-0}" \ "$(docker ps --filter "label=name=mptcp-upstream-virtme-docker" -l --format "{{.ID}}")" \ /entrypoint.sh connect "${@}"