From 951ff4f747fd34c886ce1094cc3ac012de34d802 Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow Date: Fri, 30 Jan 2015 15:19:33 -0800 Subject: [PATCH] repo is owned by node, so close the node --- cmd/ipfs/daemon.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/ipfs/daemon.go b/cmd/ipfs/daemon.go index d2d4aac5c..94adb527a 100644 --- a/cmd/ipfs/daemon.go +++ b/cmd/ipfs/daemon.go @@ -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) return } - defer repo.Close() // OK!!! Now we're ready to construct the node. // make sure we construct an online node.