From efb5ef97c75013eae48790bd209565789ac85bf3 Mon Sep 17 00:00:00 2001 From: aarzilli Date: Mon, 20 Jul 2015 09:53:12 +0200 Subject: [PATCH] bugfix: rpc.(*RPCClient).AttachedToExistingProcess calling the wrong function, this would result in the terminal frontend always killing a process it was attached to --- service/rpc/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/rpc/client.go b/service/rpc/client.go index d5e2ca4a..bd65c689 100644 --- a/service/rpc/client.go +++ b/service/rpc/client.go @@ -207,7 +207,7 @@ func (c *RPCClient) Stacktrace(goroutineId, depth int) ([]api.Location, error) { func (c *RPCClient) AttachedToExistingProcess() bool { var answer bool - c.call("AttachedToRunningProcess", nil, &answer) + c.call("AttachedToExistingProcess", nil, &answer) return answer }