diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-11-05 18:14:15 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2018-11-05 18:14:15 +0100 |
commit | 44c70fd80a3ff8931aa97555ceaf5ed578e4f8be (patch) | |
tree | df315bba53965b9ad13f6f2972b370909b651943 /conf/CMakeLists.txt | |
parent | bceaf2cc403176fd808d4e00be893671be3f4bb0 (diff) |
Treat correctly running/not running status
Systemd returns 0 for services that don't run.
It wasn't checked well causing weird effect:
trying to terminate an application not running
killed afm-system-daemon because kill(0) kills
all processes of the group of the caller.
Bug-AGL: SPEC-1836
Change-Id: I1bd64faf871ecd42aaaa5449312e8b8cb26ee9dd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions