aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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. */