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 <firstname.lastname@example.org>
Reviewed-by: Mohammed Habibulla <email@example.com>
Commit-Queue: Todd Broch <firstname.lastname@example.org>
Tested-by: Todd Broch <email@example.com>
(cherry picked from commit 3c89c0984d39e06922da1f29e96688aa2a2e177c)
1 file changed