Browse Source

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

Rusty Russell 16 years ago
parent
commit
a18fb31902
1 changed files with 0 additions and 1 deletions
  1. 0 1
      tools/tools.c

+ 0 - 1
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;