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

Ben Pfaff blp at nicira.com
Thu Dec 9 01:12:43 UTC 2010


Thanks, I pushed these.

On Wed, Dec 08, 2010 at 04:56:10PM -0800, Justin Pettit wrote:
> 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