projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
898bbd3
)
[PATCH] blktrace: allow quit when waiting for repeat connection
author
Jens Axboe
<axboe@suse.de>
Wed, 15 Feb 2006 09:14:57 +0000
(10:14 +0100)
committer
Jens Axboe
<axboe@suse.de>
Wed, 15 Feb 2006 09:14:57 +0000
(10:14 +0100)
blktrace.c
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.c
b/blktrace.c
index a58b3d3eaafe727784078fd536b9bf265e1fd400..17c0d63463a7d15c8d7553e4f6edc43d28486e94 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-1301,6
+1301,11
@@
static int net_server(void)
}
repeat:
+ signal(SIGINT, NULL);
+ signal(SIGHUP, NULL);
+ signal(SIGTERM, NULL);
+ signal(SIGALRM, NULL);
+
printf("blktrace: waiting for incoming connection...\n");
socklen = sizeof(addr);