summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmeta/recipes-core/sysvinit/sysvinit/bootlogd.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit/bootlogd.init b/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
index 06af465a5b..df5aa430cf 100755
--- a/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
+++ b/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
@@ -63,8 +63,8 @@ case "$ACTION" in
63 [ "${VERBOSE}" != "no" ] && echo -n "Stopping $DESC: " 63 [ "${VERBOSE}" != "no" ] && echo -n "Stopping $DESC: "
64 start-stop-daemon --stop --quiet --exec $DAEMON 64 start-stop-daemon --stop --quiet --exec $DAEMON
65 65
66 if [ "$STOPPER" ] && [ -f /var/log/boot ] && \ 66 if [ "$STOPPER" ] && [ "$(which savelog 2>/dev/null)" ] && \
67 [ -f /var/log/boot~ ] 67 [ -f /var/log/boot ] && [ -f /var/log/boot~ ]
68 then 68 then
69 cd /var/log 69 cd /var/log
70 chgrp adm boot 70 chgrp adm boot