From: Florian Forster Date: Sat, 23 Feb 2008 18:25:27 +0000 (+0100) Subject: src/utils_logtail.c: Added another error message. X-Git-Tag: collectd-4.4.0~91^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=334b90ccd85729f3f901421799e9bf9ab00b2105;p=collectd.git src/utils_logtail.c: Added another error message. --- diff --git a/src/utils_logtail.c b/src/utils_logtail.c index b0ca1ace..c40c129a 100644 --- a/src/utils_logtail.c +++ b/src/utils_logtail.c @@ -231,7 +231,10 @@ int logtail_read (cu_logtail_t *obj) status = cu_tail_read (obj->tail, buffer, sizeof (buffer), tail_callback, (void *) obj); if (status != 0) + { + ERROR ("logtail: cu_tail_read failed."); return (status); + } for (i = 0; i < obj->matches_num; i++) {