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 {