From c2c049448c4357eeb8474f21e880fd7258d90d80 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Tue, 17 Jan 2023 17:09:16 -0500 Subject: Fixed up plugin manager plugin, moving to optimization. --- src/lpm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lpm.c') diff --git a/src/lpm.c b/src/lpm.c index 03c19f5..1d66e41 100644 --- a/src/lpm.c +++ b/src/lpm.c @@ -969,6 +969,7 @@ int lpm_flock(lua_State* L) { UnlockFile(file, 0, 0, 1, 0); CloseHandle(file); #else + flock(fd, LOCK_UN); close(fd); #endif if (err) -- cgit v1.2.3