Skip to contentSkip to conversation

syslog-ng: fix syntax error in syslog-ng.conf

PATCH New Yi Zhao 1 participant 1 message Mar 9, 2017

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 syslog-ng: fix syntax error in syslog-ng.conf

The backtick as a special character causes a syntax error by the parser in comment line:
Error performing backtick substitution in configuration file; error='missing closing backtick (`) character', filename='/etc/syslog-ng/syslog-ng.conf', line='55:1'

Replace it with single quote and bump the conf version to 3.8.

---
 meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf +2 -2
index f0da2b7..0c6f543 100644
@@ -1,4 +1,4 @@
-@version: 3.5
+@version: 3.8
 #
 # Syslog-ng configuration file, compatible with default Debian syslogd
 # installation. Originally written by anonymous (I can't find his name)
@@ -52,7 +52,7 @@ destination d_newscrit { file("/var/log/news/news.crit"); };
 destination d_newserr { file("/var/log/news/news.err"); };
 destination d_newsnotice { file("/var/log/news/news.notice"); };
 
-# Some `catch-all' logfiles.
+# Some 'catch-all' logfiles.
 #
 destination d_debug { file("/var/log/debug"); };
 destination d_error { file("/var/log/error"); };
Signature · 1 line
2.7.4