af-main: report error status in afm-install 99/9799/2
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 26 Jun 2017 08:32:25 +0000 (10:32 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 28 Jun 2017 10:17:19 +0000 (10:17 +0000)
commit3283601f4d9bb9e5ed5b0bf3e7190c33c168e0bf
treeef20b495130b77dae171b9cf1187861870e5f174
parentca8367a37ff019862aae48fc5a3d05ad56f084ec
af-main: report error status in afm-install

The script afm-install wasn't able to report errors.
This patch suggested by Tadao Tanikawa ensure that
the status returned by dbus-send is reported to the
caller and solves the issue.

Bug-AGL: SPEC-699

Change-Id: Id9147794e534eeb9780ddfd4f4702becc87b2163
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9799
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-app-framework/recipes-core/af-main/af-main/afm-install
meta-app-framework/recipes-core/af-main/af-main_1.0.inc