summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-06-10 01:14:15 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-06-10 01:14:15 +0200
commite1f7577b4881d9c72985be4001adfd2e58894abf (patch)
treedabf2c14bb2506fceb948d7ef95c2fcab7d0bf1f
parent209948aa4da22727a33c408d4c7961dcd1f630fc (diff)
downloadrsyslog-e1f7577b4881d9c72985be4001adfd2e58894abf.tar.gz
rsyslog-e1f7577b4881d9c72985be4001adfd2e58894abf.tar.xz
rsyslog-e1f7577b4881d9c72985be4001adfd2e58894abf.zip
bugfix: error state not correctly set for gone-away config directive
-rw-r--r--tools/omfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index 7585ea8c..4e80e2f6 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -238,6 +238,7 @@ rsRetVal setDynaFileCacheSize(void __attribute__((unused)) *pVal, int iNewVal)
rsRetVal goneAway(void __attribute__((unused)) *pVal, int iNewVal)
{
errmsg.LogError(0, RS_RET_ERR, "directive $omfileForceChown is no longer supported");
+ return RS_RET_ERR;
}