From: José Bollo Date: Mon, 5 Nov 2018 17:14:15 +0000 (+0100) Subject: Treat correctly running/not running status X-Git-Tag: 6.99.1~2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=44c70fd80a3ff8931aa97555ceaf5ed578e4f8be;hp=44c70fd80a3ff8931aa97555ceaf5ed578e4f8be;p=src%2Fapp-framework-main.git 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 ---