]> 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>
Fri, 18 Oct 2013 14:51:36 +0000 (15:51 +0100)
commite7cf83ec3f39a7c41e38c6030b0d903fa7d37b2a
tree1dd3fcef7b78610b808b11d35cdddc8bd1ad3b00
parentc61c3dee162aa1f5bf31b2a09d8b916dc1712056
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.

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