email plugin: Don't unlink the socket file on startup.
authorSebastian Harl <sh@tokkee.org>
Tue, 17 Jun 2008 17:59:14 +0000 (19:59 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 24 Jun 2008 11:22:56 +0000 (13:22 +0200)
commitd00449bdc71bb7e97e23fc42579a42855afc9492
treea6529b860d39d9ac54bc1138851609ec6d634487
parent6e46ec6b9cdc3bd7dbc8144505ea04d9b93a5cd9
email plugin: Don't unlink the socket file on startup.

Usually, collectd runs as user root, thus making it an unsafe operation to
unconditionally remove the file even though one should be able to assume
that it "belongs" to collectd.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/email.c