projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73d77dd
)
UNIX signal numbers start at 1.
author
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 8 Sep 2009 16:21:52 +0000
(18:21 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 8 Sep 2009 16:21:52 +0000
(18:21 +0200)
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index
28bba02
..
d07ce7d
100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-587,7
+587,7
@@
void setup_signals(void)
/* Set a default signal handler for every signal, errors will be
ignored. */
- for(i =
0
; i < NSIG; i++) {
+ for(i =
1
; i < NSIG; i++) {
if(!do_detach)
act.sa_handler = SIG_DFL;
else