summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorMichael Gloff <mgloff@emacinc.com>2014-09-23 15:33:08 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-29 12:12:43 +0100
commit6870dff3ecd0e67ad6607695d69649ca863b2923 (patch)
treedbaa4d678521d232f38c9f371ea5f916568ee24b /meta/recipes-core
parent020f4cbda63956f9693946166f5e3e8720bc23d1 (diff)
downloadpoky-6870dff3ecd0e67ad6607695d69649ca863b2923.tar.gz
syslog: Change unused variable declaration LOCAL=0 to LOG_LOCAL=1
This fix allows the correct appending of -L to syslogd arguments when both file and remote logging are selected. (From OE-Core rev: ca68019760de6c5d5401be8eae7e65e7e6ca9021) Signed-off-by: Michael Gloff <mgloff@emacinc.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/busybox/files/syslog2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/files/syslog b/meta/recipes-core/busybox/files/syslog
index 2944d3d06c..89c4d12e9c 100644
--- a/meta/recipes-core/busybox/files/syslog
+++ b/meta/recipes-core/busybox/files/syslog
@@ -28,7 +28,7 @@ if [ -f /etc/syslog-startup.conf ]; then
28 if [ -n "$ROTATEGENS" ]; then 28 if [ -n "$ROTATEGENS" ]; then
29 SYSLOG_ARGS="$SYSLOG_ARGS -b $ROTATEGENS" 29 SYSLOG_ARGS="$SYSLOG_ARGS -b $ROTATEGENS"
30 fi 30 fi
31 LOCAL=0 31 LOG_LOCAL=1
32 elif [ "$D" = "remote" ]; then 32 elif [ "$D" = "remote" ]; then
33 SYSLOG_ARGS="$SYSLOG_ARGS -R $REMOTE" 33 SYSLOG_ARGS="$SYSLOG_ARGS -R $REMOTE"
34 LOG_REMOTE=1 34 LOG_REMOTE=1