diff --git a/cmd/ipfs/main.go b/cmd/ipfs/main.go index 69c0f9393..5e943be28 100644 --- a/cmd/ipfs/main.go +++ b/cmd/ipfs/main.go @@ -479,6 +479,8 @@ func (i *cmdInvocation) setupInterruptHandler() { for count := 0; ; count++ { <-sig + // TODO cancel the command context instead + n, err := ctx.GetNode() if err != nil { log.Error(err)