[syslog-ng]config file problem in 1.5.8

Balazs Scheidler bazsi@balabit.hu
Fri, 13 Jul 2001 12:51:53 +0200


Hi,

syslog-ng won't be able to open its config file because of a missing slash,
the following patch fixes this problem:

Index: syslog-ng.h
===================================================================
RCS file: /var/cvs/syslog-ng/src/syslog-ng.h,v
retrieving revision 1.19
diff -u -r1.19 syslog-ng.h
--- syslog-ng.h	2001/07/08 17:04:21	1.19
+++ syslog-ng.h	2001/07/13 10:50:55
@@ -34,7 +34,7 @@
 #define PATH_SYSLOG_NG_CONF     "syslog-ng.conf"
 #define PATH_PIDFILE            "syslog-ng.pid"
 #else
-#define PATH_SYSLOG_NG_CONF     PATH_SYSCONFDIR "syslog-ng.conf"
+#define PATH_SYSLOG_NG_CONF     PATH_SYSCONFDIR "/syslog-ng.conf"
 #define PATH_PIDFILE            "/var/run/syslog-ng.pid"
 #endif
 


-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1