afm-util: report correctly error status of dbus-send
[src/app-framework-main.git] / scripts / afm-util
index 9df5284..9313b50 100755 (executable)
@@ -20,6 +20,7 @@ send() {
                org.AGL.afm.user.$1 \
                "string:$2" |
        pretty
+       return ${PIPESTATUS[0]}
 }
 
 case "$1" in