summaryrefslogtreecommitdiffhomepage
path: root/src/ruby/nxt_ruby.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ruby/nxt_ruby.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ruby/nxt_ruby.c b/src/ruby/nxt_ruby.c
index 07d02dce..f316d8a5 100644
--- a/src/ruby/nxt_ruby.c
+++ b/src/ruby/nxt_ruby.c
@@ -270,6 +270,8 @@ nxt_ruby_start(nxt_task_t *task, nxt_process_data_t *data)
static char *argv[2] = { (char *) "NGINX_Unit", (char *) "-e0" };
+ signal(SIGINT, SIG_IGN);
+
conf = data->app;
c = &conf->u.ruby;