author | Sebastian Harl <sh@tokkee.org> | |
Wed, 27 Feb 2008 20:58:45 +0000 (21:58 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 27 Feb 2008 21:48:18 +0000 (22:48 +0100) | ||
commit | 04fd7e422e9ca5ca75d5ffa253cf541d821baa1b | |
tree | 0953852471e2f812887a113916734b3324446481 | tree | snapshot |
parent | a79a29c826b99d9dd2b0214e3bccf7491509d8f5 | commit | diff |
collectd.c: Check for errors in sigaction().
Terminate collectd if sigaction() fails which should not happen anyway.
While I was at it, I renamed the signal handler functions and the sigaction
structs to follow the coding style used everywhere else in collectd.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Terminate collectd if sigaction() fails which should not happen anyway.
While I was at it, I renamed the signal handler functions and the sigaction
structs to follow the coding style used everywhere else in collectd.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/collectd.c | diff | blob | history |