projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee21cfa
)
ovs-appctl: On failure, print the error message output by the server.
author
Ben Pfaff
<blp@nicira.com>
Wed, 8 Dec 2010 22:27:05 +0000
(14:27 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 9 Dec 2010 01:09:29 +0000
(17:09 -0800)
Otherwise failures are much more mysterious.
utilities/ovs-appctl.c
patch
|
blob
|
history
diff --git
a/utilities/ovs-appctl.c
b/utilities/ovs-appctl.c
index dc4574267ea1ad62847e8993471f1f590be3c0db..742603bda999152bf5071697100259545cb9e8be 100644
(file)
--- 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);
}