projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb4c4c3
)
ccanlint: don't setpgid on running commands: we want ^C to work!
author
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 7 Jun 2010 07:57:15 +0000
(17:27 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 7 Jun 2010 07:57:15 +0000
(17:27 +0930)
tools/tools.c
patch
|
blob
|
history
diff --git
a/tools/tools.c
b/tools/tools.c
index 25917d35289244fa224652ad6f9a787a44f65919..8ce193cd226bd0905f7a6738c4f70eda4057fe1c 100644
(file)
--- 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;