From c6ed209619a31ad4022038e990b015f7849d5a6a Mon Sep 17 00:00:00 2001 From: bptato Date: Mon, 20 May 2024 22:01:40 +0200 Subject: forkserver: also skip SIGTERM socket unlink rationale: see previous commit --- src/server/forkserver.nim | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/server/forkserver.nim b/src/server/forkserver.nim index 51c6a268..86005fbb 100644 --- a/src/server/forkserver.nim +++ b/src/server/forkserver.nim @@ -167,11 +167,7 @@ proc forkBuffer(ctx: var ForkServerContext; r: var BufferedReader): int = onSignal SIGTERM: discard sig gpstream.sclose() - when defined(linux): - # no unlink access on Linux - gssock.close(unlink = false) - else: - gssock.close() + gssock.close(unlink = false) enterBufferSandbox(sockDir) let loader = FileLoader( process: loaderPid, -- cgit 1.4.1-2-gfad0