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.

(From OE-Core rev: 9f674a88c781c7092d5b3460922a1579b9fe4bf9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2019-06-27 13:27:43 +01:00
parent 897639d7dc
commit bfe3012ea4

View File

@@ -82,7 +82,7 @@ case "$1" in
;;
restart)
pid1=`pidof syslogd`
pid2=`pidof syslogd`
pid2=`pidof klogd`
$0 stop
waitpid $pid1
waitpid $pid2