Commit a18fb319 authored by Rusty Russell's avatar Rusty Russell

ccanlint: don't setpgid on running commands: we want ^C to work!

parent fb4c4c3d
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment