diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc index 8b38c1aaa8..454d7e3cbe 100644 --- a/meta/recipes-core/busybox/busybox.inc +++ b/meta/recipes-core/busybox/busybox.inc @@ -277,7 +277,7 @@ do_install () { # Remove the sysvinit specific configuration file for systemd systems to avoid confusion if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'false', 'true', d)}; then - rm ${D}${sysconfdir}/syslog-startup.conf.${BPN} + rm -f ${D}${sysconfdir}/syslog-startup.conf.${BPN} fi }