From 29bf2275f6cdf6e45f2987035097de2f79f0c6d2 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 9 May 2023 20:38:21 +0300 Subject: fixup: building on UNIX --- src/spawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spawn.c b/src/spawn.c index d79259e..b23cde1 100644 --- a/src/spawn.c +++ b/src/spawn.c @@ -729,7 +729,7 @@ teco_spawn_idle_cb(gpointer user_data) /* * The first CTRL+C will try to gracefully terminate the process. */ - if (teco_spawn_ctx.interrupted || kill(teco_spawn_ctx.pid, SIGINT); + if (teco_spawn_ctx.interrupted || kill(teco_spawn_ctx.pid, SIGINT)) kill(teco_spawn_ctx.pid, SIGKILL); #else /* This may signal unrelated processes as well. */ -- cgit v1.2.3