mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 17:36:38 +08:00
repo is owned by node, so close the node
This commit is contained in:
@ -97,7 +97,6 @@ func daemonFunc(req cmds.Request, res cmds.Response) {
|
|||||||
res.SetError(debugerror.Errorf("Couldn't obtain lock. Is another daemon already running?"), cmds.ErrNormal)
|
res.SetError(debugerror.Errorf("Couldn't obtain lock. Is another daemon already running?"), cmds.ErrNormal)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
defer repo.Close()
|
|
||||||
|
|
||||||
// OK!!! Now we're ready to construct the node.
|
// OK!!! Now we're ready to construct the node.
|
||||||
// make sure we construct an online node.
|
// make sure we construct an online node.
|
||||||
|
Reference in New Issue
Block a user