aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-27 13:27:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-27 13:27:54 +0100
commit9f674a88c781c7092d5b3460922a1579b9fe4bf9 (patch)
tree71e411eaaa680c1febf9e7595ef53ee5477ab97e
parent66322b689e46520647e2d94d5e3f3ce282a41247 (diff)
downloadopenembedded-core-contrib-9f674a88c781c7092d5b3460922a1579b9fe4bf9.tar.gz
openembedded-core-contrib-9f674a88c781c7092d5b3460922a1579b9fe4bf9.tar.bz2
openembedded-core-contrib-9f674a88c781c7092d5b3460922a1579b9fe4bf9.zip
busybox: Fix typo in syslog initscript
The change to ensure the existing processes shut down had a clear copy and paste error. This really fixes syslog to avoid errors on restart. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/busybox/files/syslog2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/files/syslog b/meta/recipes-core/busybox/files/syslog
index 49033c1755a..2208613e8c6 100644
--- a/meta/recipes-core/busybox/files/syslog
+++ b/meta/recipes-core/busybox/files/syslog
@@ -82,7 +82,7 @@ case "$1" in
;;
restart)
pid1=`pidof syslogd`
- pid2=`pidof syslogd`
+ pid2=`pidof klogd`
$0 stop
waitpid $pid1
waitpid $pid2