summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-05-29 17:39:32 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-05-29 17:39:32 +0200
commit2cf3b2fa3c5c5b6cbf104294c7fc8860bb49bac0 (patch)
tree338446e4e2caf5ae46b8aed14faea970f01aa999 /runtime
parent6ddb3249e6bac6c573a5ab45eba65fba91c1d9e9 (diff)
downloadrsyslog-2cf3b2fa3c5c5b6cbf104294c7fc8860bb49bac0.tar.gz
rsyslog-2cf3b2fa3c5c5b6cbf104294c7fc8860bb49bac0.tar.xz
rsyslog-2cf3b2fa3c5c5b6cbf104294c7fc8860bb49bac0.zip
fixed a regression of yesterday's patch
... I know I should not have done this to a stable branch... Thankfully nothing was yet released.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/conf.c2
-rw-r--r--runtime/rsyslog.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/runtime/conf.c b/runtime/conf.c
index da6026c5..510927a2 100644
--- a/runtime/conf.c
+++ b/runtime/conf.c
@@ -479,7 +479,7 @@ finalize_it:
}
if(bHadAnError && (iRet == RS_RET_OK)) { /* a bit dirty, enhance in future releases */
- iRet = RS_RET_ERR;
+ iRet = RS_RET_NONFATAL_CONFIG_ERR;
}
RETiRet;
}
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 70af8c4f..9ce58210 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -253,6 +253,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_ACCEPT_ERR = -2106, /**< error during accept() system call */
RS_RET_INVLD_TIME = -2107, /**< invalid timestamp (e.g. could not be parsed) */
RS_RET_CODE_ERR = -2109, /**< program code (internal) error */
+ RS_RET_NONFATAL_CONFIG_ERR = -2123, /**< non-fatal error during config processing */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */