From: Ben Pfaff Date: Wed, 8 Dec 2010 22:27:05 +0000 (-0800) Subject: ovs-appctl: On failure, print the error message output by the server. X-Git-Tag: v1.1.0~712 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3080205e8f8c812a61f0825a5f83dbd7439fab31;p=sliver-openvswitch.git ovs-appctl: On failure, print the error message output by the server. Otherwise failures are much more mysterious. --- diff --git a/utilities/ovs-appctl.c b/utilities/ovs-appctl.c index dc4574267..742603bda 100644 --- a/utilities/ovs-appctl.c +++ b/utilities/ovs-appctl.c @@ -65,6 +65,7 @@ main(int argc, char *argv[]) ovs_fatal(error, "%s: transaction error", target); } if (code / 100 != 2) { + fputs(reply, stderr); ovs_error(0, "%s: server returned reply code %03d", target, code); exit(2); }