[oe-commits] Michael Gloff : syslog: Change unused variable declaration LOCAL= 0 to LOG_LOCAL=1
git at git.openembedded.org
git at git.openembedded.org
Mon Sep 29 11:13:01 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: ca68019760de6c5d5401be8eae7e65e7e6ca9021
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ca68019760de6c5d5401be8eae7e65e7e6ca9021
Author: Michael Gloff <mgloff at emacinc.com>
Date: Tue Sep 23 15:33:08 2014 -0500
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 at emacinc.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-core/busybox/files/syslog | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/busybox/files/syslog b/meta/recipes-core/busybox/files/syslog
index 2944d3d..89c4d12 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
More information about the Openembedded-commits
mailing list