diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-20 08:41:32 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-20 08:41:32 +0200 |
commit | 762c1a81d5ee669091c7b5b20453f4968acd21c2 (patch) | |
tree | 57ac5c7e0c3b645616c1726752d29654b7081f2a | |
parent | b40c83090e7146a0709657b3ad15f806c51f5f83 (diff) | |
download | rsyslog-762c1a81d5ee669091c7b5b20453f4968acd21c2.tar.gz rsyslog-762c1a81d5ee669091c7b5b20453f4968acd21c2.tar.bz2 rsyslog-762c1a81d5ee669091c7b5b20453f4968acd21c2.zip |
bugfix: config validation run did not always return correct return state
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | tools/syslogd.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -9,6 +9,7 @@ Version 6.4.2 [V6-STABLE] 2012-09-?? used \x as escape where x was any character (e.g. "\n" meant "n" and NOT LF). This also means there is some incompatibility to v5 for well-know sequences. Better break it now than later. +- bugfix: config validation run did not always return correct return state --------------------------------------------------------------------------- Version 6.4.1 [V6-STABLE] 2012-09-06 - bugfix: multiple main queues with same queue file name were not detected diff --git a/tools/syslogd.c b/tools/syslogd.c index 81150677..5064511d 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -2132,6 +2132,7 @@ finalize_it: } else if(iRet != RS_RET_OK) { fprintf(stderr, "rsyslogd: run failed with error %d (see rsyslog.h " "or try http://www.rsyslog.com/e/%d to learn what that number means)\n", iRet, iRet*-1); + exit(1); } ENDfunc |