aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/afm-util.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/afm-util.in b/scripts/afm-util.in
index 40bc7da..3f47d97 100755
--- a/scripts/afm-util.in
+++ b/scripts/afm-util.in
@@ -2,7 +2,7 @@
send() {
afb-client-demo -H -d unix:@afm_platform_rundir@/apis/ws/afm-main "$1" "$2" |
- awk '$1=="ON-REPLY-FAIL"{$1="ERROR:";$2="";print;exit 1;}NR>1'
+ awk '$1=="ON-REPLY" && $3!="success"{$1="ERROR:";$2="";print > "/dev/stderr";exit 1;}NR>1'
}
case "$1" in