aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorDavid Frey <dpfrey@gmail.com>2019-01-10 11:23:52 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-14 11:21:58 +0000
commitf6e03a43ee71c406fa8e68309624efd5384f437a (patch)
tree225bbece1c40e63b51b964a662b8be2e86e5137c /meta/recipes-core
parentc99cb0bbb78089d1d15c4c8563a71db0df1cb0da (diff)
downloadopenembedded-core-contrib-f6e03a43ee71c406fa8e68309624efd5384f437a.tar.gz
bluez5: Fix status subcommand of init script
Update the bluez5 init script to resolve an issue where the status subcommand would exit without printing any message if bluez was not running. The early exit was caused by the fact that the init script has "set -e". When "pidof ${DAEMON} >/dev/null" is executed, the script terminates immediately if bluez isn't running because pidof returns a non-zero result. The fixed version does not suffer from this issue and makes use of the "status" function from the functions library. Signed-off-by: David Frey <dpfrey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
0 files changed, 0 insertions, 0 deletions