From a01ecab3a72fde35997a011103b1c10cb8a54b40 Mon Sep 17 00:00:00 2001 From: Laevos Date: Fri, 25 May 2018 21:01:46 -0500 Subject: [PATCH] fix #423: Remove lock file when daemon force quits License: MIT Signed-off-by: Lilith McMullen --- ipfs-cluster-service/daemon.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ipfs-cluster-service/daemon.go b/ipfs-cluster-service/daemon.go index 2fe1e4b31..380441247 100644 --- a/ipfs-cluster-service/daemon.go +++ b/ipfs-cluster-service/daemon.go @@ -198,6 +198,7 @@ Note that this may corrupt the local cluster state. `) case 3: out("exiting cluster NOW") + locker.tryUnlock() os.Exit(-1) } }