about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-03-14 14:41:02 +0100
committerbptato <nincsnevem662@gmail.com>2024-03-14 14:41:02 +0100
commitb5c7a63a3dccf0ea7490d635ee5a8d56d3d49ce1 (patch)
tree5a20a04f481000cb2e4f4721334b1c6116c2f31d /src
parentd6cf589f46c5d26281c66462aed5a793ea20fa29 (diff)
downloadchawan-b5c7a63a3dccf0ea7490d635ee5a8d56d3d49ce1.tar.gz
loader: only trap SIGTERM
SIGINT is trapped (well, ignored) by forkserver already.
Diffstat (limited to 'src')
-rw-r--r--src/loader/loader.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/loader.nim b/src/loader/loader.nim
index cb59a714..83212444 100644
--- a/src/loader/loader.nim
+++ b/src/loader/loader.nim
@@ -633,7 +633,7 @@ proc initLoaderContext(fd: cint; config: LoaderConfig): LoaderContext =
   let ps = newPosixStream(fd)
   ps.write(char(0u8))
   ps.close()
-  onSignal SIGTERM, SIGINT:
+  onSignal SIGTERM:
     discard sig
     gctx.exitLoader()
   for dir in ctx.config.cgiDir.mitems: