From 7c12000d865b0885c2d5125f14742a54e41a270c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 30 May 2011 08:37:35 +0200 Subject: regression fix: config validation code affected by recent changes did not return with proper return value --- tools/syslogd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/syslogd.c') diff --git a/tools/syslogd.c b/tools/syslogd.c index 4fe6fa26..4c512ac2 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -2165,6 +2165,10 @@ int realMain(int argc, char **argv) "startup with a dirty config.\n"); exit(2); } + if(iConfigVerify) { + /* a bit dirty, but useful... */ + exit(1); + } localRet = RS_RET_OK; } CHKiRet(localRet); -- cgit v1.2.3