summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/busybox/busybox.inc2
-rw-r--r--meta/recipes-extended/sysklogd/sysklogd.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index f67bbbc420..b2f1960226 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -423,7 +423,7 @@ pkg_prerm_${PN}-syslog () {
423 # remove syslog 423 # remove syslog
424 if test "x$D" = "x"; then 424 if test "x$D" = "x"; then
425 if test "$1" = "upgrade" -o "$1" = "remove"; then 425 if test "$1" = "upgrade" -o "$1" = "remove"; then
426 ${sysconfdir}/init.d/syslog stop 426 ${sysconfdir}/init.d/syslog stop || :
427 fi 427 fi
428 fi 428 fi
429} 429}
diff --git a/meta/recipes-extended/sysklogd/sysklogd.inc b/meta/recipes-extended/sysklogd/sysklogd.inc
index 1e363db6e8..5c15ffe8ab 100644
--- a/meta/recipes-extended/sysklogd/sysklogd.inc
+++ b/meta/recipes-extended/sysklogd/sysklogd.inc
@@ -55,7 +55,7 @@ ALTERNATIVE_LINK_NAME[syslog-conf] = "${sysconfdir}/syslog.conf"
55pkg_prerm_${PN} () { 55pkg_prerm_${PN} () {
56 if test "x$D" = "x"; then 56 if test "x$D" = "x"; then
57 if test "$1" = "upgrade" -o "$1" = "remove"; then 57 if test "$1" = "upgrade" -o "$1" = "remove"; then
58 /etc/init.d/syslog stop 58 /etc/init.d/syslog stop || :
59 fi 59 fi
60 fi 60 fi
61} 61}