collectd.c: Check for errors in sigaction().
authorSebastian Harl <sh@tokkee.org>
Wed, 27 Feb 2008 20:58:45 +0000 (21:58 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 27 Feb 2008 21:48:18 +0000 (22:48 +0100)
commit04fd7e422e9ca5ca75d5ffa253cf541d821baa1b
tree0953852471e2f812887a113916734b3324446481
parenta79a29c826b99d9dd2b0214e3bccf7491509d8f5
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>
src/collectd.c