From 3080205e8f8c812a61f0825a5f83dbd7439fab31 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 8 Dec 2010 14:27:05 -0800 Subject: [PATCH] ovs-appctl: On failure, print the error message output by the server. Otherwise failures are much more mysterious. --- utilities/ovs-appctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/utilities/ovs-appctl.c b/utilities/ovs-appctl.c index dc457426..742603bd 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); } -- 2.30.2