]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
Improve pid file handling.
authorEric Leblond <eric@regit.org>
Sat, 18 May 2013 13:25:11 +0000 (15:25 +0200)
committerEric Leblond <eric@regit.org>
Tue, 21 May 2013 17:57:07 +0000 (19:57 +0200)
commit81e6325d5a1edc1f4558081ce69ebd92b746f4f2
tree62f44926bfd33b33f0fe85163f010f6f027ac7ea
parente04f1ce916965464318f882376eef04a8b6759f2
Improve pid file handling.

This patch improves latest patch by splitting in two part the pid
file creation. This allows to display a message to stdout when
ulogd can not be started. Another linked improvement is that the
plugin initialization is not done if the pid file existence will
result in a ulogd exit.

Signed-off-by: Eric Leblond <eric@regit.org>
src/ulogd.c