From aeeda5a5f18cfb6c05227ee86178c61a619bd123 Mon Sep 17 00:00:00 2001
From: Rob Swindell <rob@synchro.net>
Date: Sun, 6 Sep 2020 18:43:04 -0700
Subject: [PATCH] On a fresh install, this 'Removing unknown fmutex' error
 always happens

The file is state.bin.lock.
Just ignore it (let Deuce debug the reason why).
---
 xtrn/lord/lord.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/xtrn/lord/lord.js b/xtrn/lord/lord.js
index b0cbbc719b..d39792bd53 100644
--- a/xtrn/lord/lord.js
+++ b/xtrn/lord/lord.js
@@ -1788,7 +1788,8 @@ function rfmutex(fname)
 	fname += '.lock';
 	idx = cleanup_files.indexOf(fname);
 	if (idx === -1) {
-		throw new Error('Removing unknown fmutex '+fname);
+	//	throw new Error('Removing unknown fmutex '+fname);
+		return;
 	}
 	file_remove(fname);
 	cleanup_files.splice(idx, 1);
-- 
GitLab