aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/spawn.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2023-05-09 20:38:21 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2023-05-09 20:38:21 +0300
commit29bf2275f6cdf6e45f2987035097de2f79f0c6d2 (patch)
treecdcbe7fb4821e9d7d175b12ebd88745ff47f5428 /src/spawn.c
parentf557af9a9112955d3b65f6ad0d54c0791189f961 (diff)
downloadsciteco-29bf2275f6cdf6e45f2987035097de2f79f0c6d2.tar.gz
fixup: building on UNIX
Diffstat (limited to 'src/spawn.c')
-rw-r--r--src/spawn.c2
1 files changed, 1 insertions, 1 deletions
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. */