diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-08 18:29:33 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-08 18:29:33 +0100 |
commit | 3866bd51bf7e622594ff4831664c28d80f711cb3 (patch) | |
tree | a83067d3104f778006372590147d2db27fae1dc8 /tools | |
parent | 97f6fa81fd565232ad66082eece4cef207b3060b (diff) | |
download | rsyslog-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.c | 5 |
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); |