diff options
author | bptato <nincsnevem662@gmail.com> | 2024-06-22 17:16:51 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-06-22 17:16:51 +0200 |
commit | 7de2ce6917969dbb8f42126fbe4c397912762957 (patch) | |
tree | 1d9c6ff05d89ff077847f7c80f2695c364c99a78 /src | |
parent | aa3e08c3ea432b8d9a9558c1609ebae1ab75cc1e (diff) | |
download | chawan-7de2ce6917969dbb8f42126fbe4c397912762957.tar.gz |
forkserver: add missing exitnow
Diffstat (limited to 'src')
-rw-r--r-- | src/server/forkserver.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/forkserver.nim b/src/server/forkserver.nim index 86005fbb..de81bace 100644 --- a/src/server/forkserver.nim +++ b/src/server/forkserver.nim @@ -168,6 +168,7 @@ proc forkBuffer(ctx: var ForkServerContext; r: var BufferedReader): int = discard sig gpstream.sclose() gssock.close(unlink = false) + exitnow(1) enterBufferSandbox(sockDir) let loader = FileLoader( process: loaderPid, |