summaryrefslogtreecommitdiff
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:11:48 +0100
commitca68019760de6c5d5401be8eae7e65e7e6ca9021 (patch)
tree61b8a31d0530d585408c29deef890d3fbd554585
parentbdd7a07db6b41c6c87c272d410af63c2d0251fc8 (diff)
downloadopenembedded-core-ca68019760de6c5d5401be8eae7e65e7e6ca9021.tar.gz
openembedded-core-ca68019760de6c5d5401be8eae7e65e7e6ca9021.tar.bz2
openembedded-core-ca68019760de6c5d5401be8eae7e65e7e6ca9021.zip
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. Signed-off-by: Michael Gloff <mgloff@emacinc.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-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
if [ -n "$ROTATEGENS" ]; then
SYSLOG_ARGS="$SYSLOG_ARGS -b $ROTATEGENS"
fi
- LOCAL=0
+ LOG_LOCAL=1
elif [ "$D" = "remote" ]; then
SYSLOG_ARGS="$SYSLOG_ARGS -R $REMOTE"
LOG_REMOTE=1