From 334b90ccd85729f3f901421799e9bf9ab00b2105 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 23 Feb 2008 19:25:27 +0100 Subject: [PATCH] src/utils_logtail.c: Added another error message. --- src/utils_logtail.c | 3 +++ 1 file changed, 3 insertions(+) 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++) { -- 2.30.2