summaryrefslogtreecommitdiffstats
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-28 18:47:55 +0200
commitc4229aaa4f3ca160f3bc044bd64e2d7dec1148b8 (patch)
treecce9f7680b8eb7231bddeaa0a5e8d908926c5d9c
parentafe27f193dd88e50ef95af37203163459ba151c6 (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