diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2017-03-09 09:56:00 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-03-11 17:56:45 +0100 |
commit | 268e2a619ab13b1d6a561e99eb2dbaec572e34ec (patch) | |
tree | 443faa399907870d2f24ed34590382383e8c3ba9 | |
parent | c7ecb6c2995a5ec9df0821e0f6bd9d881471a050 (diff) | |
download | meta-openembedded-268e2a619ab13b1d6a561e99eb2dbaec572e34ec.tar.gz |
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.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf b/meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf index f0da2b703..0c6f54355 100644 --- a/meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf +++ b/meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf | |||
@@ -1,4 +1,4 @@ | |||
1 | @version: 3.5 | 1 | @version: 3.8 |
2 | # | 2 | # |
3 | # Syslog-ng configuration file, compatible with default Debian syslogd | 3 | # Syslog-ng configuration file, compatible with default Debian syslogd |
4 | # installation. Originally written by anonymous (I can't find his name) | 4 | # installation. Originally written by anonymous (I can't find his name) |
@@ -52,7 +52,7 @@ destination d_newscrit { file("/var/log/news/news.crit"); }; | |||
52 | destination d_newserr { file("/var/log/news/news.err"); }; | 52 | destination d_newserr { file("/var/log/news/news.err"); }; |
53 | destination d_newsnotice { file("/var/log/news/news.notice"); }; | 53 | destination d_newsnotice { file("/var/log/news/news.notice"); }; |
54 | 54 | ||
55 | # Some `catch-all' logfiles. | 55 | # Some 'catch-all' logfiles. |
56 | # | 56 | # |
57 | destination d_debug { file("/var/log/debug"); }; | 57 | destination d_debug { file("/var/log/debug"); }; |
58 | destination d_error { file("/var/log/error"); }; | 58 | destination d_error { file("/var/log/error"); }; |