aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-06-26 10:29:17 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-06-26 10:29:17 +0200
commit31943af2e46375265bb865e20a6e50f365d2a6dd (patch)
tree5dbcff1c6e0284f40e1d58b524c290d53745a6a1
parent1a673de307982e7f2abfb362d2927e8e5e16be55 (diff)
afm-util: report correctly error status of dbus-send
Bug-AGL: SPEC-699 Change-Id: I8398f9dedefbe02a1ba57ed3725fa680a8db3cfa Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rwxr-xr-xscripts/afm-util1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/afm-util b/scripts/afm-util
index 9df5284..9313b50 100755
--- a/scripts/afm-util
+++ b/scripts/afm-util
@@ -20,6 +20,7 @@ send() {
org.AGL.afm.user.$1 \
"string:$2" |
pretty
+ return ${PIPESTATUS[0]}
}
case "$1" in