diff options
-rwxr-xr-x | meta/recipes-core/sysvinit/sysvinit/bootlogd.init | 4 |
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 [ "${VERBOSE}" != "no" ] && echo -n "Stopping $DESC: " start-stop-daemon --stop --quiet --exec $DAEMON - if [ "$STOPPER" ] && [ -f /var/log/boot ] && \ - [ -f /var/log/boot~ ] + if [ "$STOPPER" ] && [ "$(which savelog 2>/dev/null)" ] && \ + [ -f /var/log/boot ] && [ -f /var/log/boot~ ] then cd /var/log chgrp adm boot |