[ovs-dev] [bugfixes 4/4] ovs-appctl: On failure, print the error message output by the server.

Justin Pettit jpettit at nicira.com
Wed Dec 8 16:56:10 PST 2010


The series looks fine to me.

--Justin


On Dec 8, 2010, at 3:22 PM, Ben Pfaff wrote:

> Otherwise failures are much more mysterious.
> ---
> utilities/ovs-appctl.c |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/utilities/ovs-appctl.c b/utilities/ovs-appctl.c
> index dc45742..742603b 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);
>     }
> -- 
> 1.7.1
> 
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev_openvswitch.org





More information about the dev mailing list