summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-03-08 18:29:33 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-03-08 18:29:33 +0100
commit3866bd51bf7e622594ff4831664c28d80f711cb3 (patch)
treea83067d3104f778006372590147d2db27fae1dc8 /tools
parent97f6fa81fd565232ad66082eece4cef207b3060b (diff)
downloadrsyslog-3866bd51bf7e622594ff4831664c28d80f711cb3.tar.gz
rsyslog-3866bd51bf7e622594ff4831664c28d80f711cb3.tar.xz
rsyslog-3866bd51bf7e622594ff4831664c28d80f711cb3.zip
bugfix(kind of): tell users that config graph can currently not be generated
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=232
Diffstat (limited to 'tools')
-rw-r--r--tools/syslogd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index ffcaa27f..dd9729ef 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -1334,6 +1334,11 @@ generateConfigDAG(uchar *pszDAGFile)
assert(pszDAGFile != NULL);
+ logmsgInternal(NO_ERRCODE, LOG_SYSLOG|LOG_INFO, (uchar*)
+ "Configuration graph generation is unfortunately disabled "
+ "in the current code base.", 0);
+ ABORT_FINALIZE(RS_RET_FILENAME_INVALID);
+
if((fp = fopen((char*) pszDAGFile, "w")) == NULL) {
logmsgInternal(NO_ERRCODE, LOG_SYSLOG|LOG_INFO, (uchar*)
"configuraton graph output file could not be opened, none generated", 0);