From a18fb319029204f4020512712299b4a3af7a6216 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 7 Jun 2010 17:27:15 +0930 Subject: [PATCH] ccanlint: don't setpgid on running commands: we want ^C to work! --- tools/tools.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/tools.c b/tools/tools.c index 25917d35..8ce193cd 100644 --- a/tools/tools.c +++ b/tools/tools.c @@ -99,7 +99,6 @@ static char *run_with_timeout(const void *ctx, || open("/dev/null", O_RDONLY) != STDIN_FILENO) exit(128); - setpgid(0, 0); signal(SIGALRM, killme); itim.it_interval.tv_sec = itim.it_interval.tv_usec = 0; itim.it_value.tv_sec = *timeout_ms / 1000; -- 2.39.2