From c7f922b5fce9830cf2af47be0c2bccd7679da92e Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow Date: Fri, 30 Jan 2015 15:32:42 -0800 Subject: [PATCH] set the root context at the earlist possible moment --- cmd/ipfs/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/ipfs/main.go b/cmd/ipfs/main.go index 9ed4de39e..48e6429df 100644 --- a/cmd/ipfs/main.go +++ b/cmd/ipfs/main.go @@ -219,6 +219,7 @@ func (i *cmdInvocation) Parse(ctx context.Context, args []string) error { if err != nil { return err } + i.req.Context().Context = ctx repoPath, err := getRepoPath(i.req) if err != nil {