Ignore requests to stop services that don't exist on a platform.
Some platforms don't support certain services. For example, parrot
does not have bluetooth and therefore no bluetoothd service. Change
allows system call to upstart ( 'stop <service>' ) to fail gracefully
instead of causing an exception.
TEST=run power_Consumption on parrot
Reviewed-by: Sameer Nanda <email@example.com>
Reviewed-by: Mohammed Habibulla <firstname.lastname@example.org>
Commit-Queue: Todd Broch <email@example.com>
Tested-by: Todd Broch <firstname.lastname@example.org>
(cherry picked from commit 3c89c0984d39e06922da1f29e96688aa2a2e177c)
1 file changed