]> code.ossystems Code Review - openembedded-core.git/commitdiff
syslog: Change unused variable declaration LOCAL=0 to LOG_LOCAL=1
authorMichael Gloff <mgloff@emacinc.com>
Tue, 23 Sep 2014 20:33:08 +0000 (15:33 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Sep 2014 11:11:48 +0000 (12:11 +0100)
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>
meta/recipes-core/busybox/files/syslog

index 2944d3d06c392579b35f698861e9c229259612a2..89c4d12e9cd56690e9b6cb9fe68f4f490dbc534a 100644 (file)
@@ -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