initscripts: let status return 0 when proc is running well
authorJesse Zhang <sen.zhang@windriver.com>
Wed, 20 Feb 2013 03:12:02 +0000 (03:12 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 May 2013 19:59:11 +0000 (20:59 +0100)
commitf1e8509ec78cdb7d990514fd5cc5f8d6da2735d4
treedff7e32e828768ab5873f49919f2d8d6340789f2
parent3c147f5abc96e85428e9649df5a8a95ecac3e2a2
initscripts: let status return 0 when proc is running well

Ensure that the status returns 0 instead of the last shell command result,
otherwise the calling script can not properly detect the status of pid.

(From OE-Core rev: d9d4fdc769dfe6bf9838f5c5f3189a80f0e3cf90)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initscripts/initscripts-1.0/functions