@cryptotaxi247 / kubo / commits / 951ff4f74

repo is owned by node, so close the node

Brian Tiger Chow committed Jan 30, 2015 at 15:19 UTC 951ff4f747fd34c886ce1094cc3ac012de34d802
1 file changed -1
cmd/ipfs/daemon.go
-1
@@ -97,7 +97,6 @@ func daemonFunc(req cmds.Request, res cmds.Response) {
97 res.SetError(debugerror.Errorf("Couldn't obtain lock. Is another daemon already running?"), cmds.ErrNormal)
98 return
99 }
100 - defer repo.Close()
100
101 // OK!!! Now we're ready to construct the node.
102 // make sure we construct an online node.