af-main: report error status in afm-install 33/9833/3
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:15 +0000 (10:17 +0000)
commit82b5fcf09e88f681a2146a4ff80d09f695a2f612
tree3ebae45edafed4786b96d54d26c375a8eb74cf20
parent091ef1a3c23f6c28bad47caf16aeca3318dbd5f7
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: I4a737986ced800d4f29f1c3fdbc65aa0e957962d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9833
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
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