]> code.ossystems Code Review - openembedded-core.git/commit
openssh: fix sshd status command error prompt
authorQiang Chen <qiang.chen@windriver.com>
Fri, 18 Oct 2013 08:50:20 +0000 (16:50 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Dec 2013 16:53:05 +0000 (16:53 +0000)
commit1b5409b5b060459f15c32c89b1983122b2126f84
treea7c06d23d2a7f4cd3a8ee26c944615b886a2942f
parentf4a5005518e2384b22593063010a3fa1179f5861
openssh: fix sshd status command error prompt

sshd status command results in error prompt:

root@qemu0:~# /etc/init.d/sshd status
/usr/sbin/sshd (pid 1199) is running...
/etc/init.d/sshd: line 100: return: can only `return' from a
function or sourced script

"service --status-all" command also display wrong status for sshd.

This commit fix this error prompt and make service command display
right status for sshd.

(From OE-Core master rev: e7cf83ec3f39a7c41e38c6030b0d903fa7d37b2a)

Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-connectivity/openssh/openssh-6.2p2/init