summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-12-17 18:34:39 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-12-17 18:34:39 +0100
commit25ff60f5238204ddde0eb7b76ca346372f496ba7 (patch)
tree7aff92a7684225d547bb17e4328e746d139c93fa
parent50855878062dbcf8d2861ea169d3ca686c65b23b (diff)
downloadrsyslog-25ff60f5238204ddde0eb7b76ca346372f496ba7.tar.gz
rsyslog-25ff60f5238204ddde0eb7b76ca346372f496ba7.tar.xz
rsyslog-25ff60f5238204ddde0eb7b76ca346372f496ba7.zip
forgot the actual patch with the last commit :(
-rw-r--r--runtime/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stream.c b/runtime/stream.c
index baf69881..a2eeb039 100644
--- a/runtime/stream.c
+++ b/runtime/stream.c
@@ -426,7 +426,7 @@ strmHandleEOFMonitor(strm_t *pThis)
pThis->pszCurrFName, (unsigned) statOpen.st_ino,
(unsigned) statName.st_ino,
pThis->iCurrOffs, (long long) statName.st_size);
- if(statOpen.st_ino == statName.st_ino && pThis->iCurrOffs == statName.st_size) {
+ if(statOpen.st_ino == statName.st_ino && pThis->iCurrOffs >= statName.st_size) {
ABORT_FINALIZE(RS_RET_EOF);
} else {
/* we had a file change! */