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>