[collectd] [PATCH] collectd, plugin: Added support for "flush" callbacks.

bd at bc-bd.org bd at bc-bd.org
Wed Feb 27 11:37:54 CET 2008


> +	memset (&sigUsr1Action, '\0', sizeof (sigUsr1Action));
> +	sigUsr1Action.sa_handler = sigUsr1Handler;
> +	sigaction (SIGUSR1, &sigUsr1Action, NULL);
> +

Mabybe we should check sigaction()'s return value here and at least log
a warning.

	Stefan
-- 
Would the last person to leave Michigan please turn out the lights?



More information about the collectd mailing list