diff options
author | David Frey <dpfrey@gmail.com> | 2019-01-10 11:23:52 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-04-13 12:46:44 -0700 |
commit | 383425fb86fdeccad88080369078d9ac988bab2f (patch) | |
tree | 518bcf80833cf22002ead4ec7720e456e339eb7f /meta-selftest | |
parent | 0ae5ff4c0adc5fd727e5c5c47aba8c7859d60a73 (diff) | |
download | openembedded-core-383425fb86fdeccad88080369078d9ac988bab2f.tar.gz openembedded-core-383425fb86fdeccad88080369078d9ac988bab2f.tar.bz2 openembedded-core-383425fb86fdeccad88080369078d9ac988bab2f.zip |
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-selftest')
0 files changed, 0 insertions, 0 deletions