about summary refs log tree commit diff stats
path: root/src/server/forkserver.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/forkserver.nim')
-rw-r--r--src/server/forkserver.nim6
1 files changed, 1 insertions, 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,