From e22b470c3efa0a97e0a141497ac02821fe7fbfa6 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Fri, 27 Feb 2015 16:39:53 +0000 Subject: [PATCH] Add the change from #395, which got lost `-t` flag creates a tty for the command, so we can interrupt it with Control-C --- weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave b/weave index e7777274..6f605380 100755 --- a/weave +++ b/weave @@ -73,7 +73,7 @@ run_tool() { TOOL_NET=$1 TOOL_COMMAND=$2 shift 2 - docker run --rm --privileged --net=$TOOL_NET $TOOLS_IMAGE /bin/$TOOL_COMMAND "$@" + docker run --rm -t --privileged --net=$TOOL_NET $TOOLS_IMAGE /bin/$TOOL_COMMAND "$@" } is_cidr() {