Re: [lxc-devel] [PATCH] Parse: add error info when parse config failed

2013-09-23 Thread Serge Hallyn
Quoting Qiang Huang (h.huangqi...@huawei.com): > ping. > > Hi Serge or Stéphane, > > What do you think about this patch? > Spell error happens in our config file(many times for me :( ), and > this error info will really save user's time to figure out the > problem. > > On 2013/9/16 10:04, Qiang

Re: [lxc-devel] [PATCH] Parse: add error info when parse config failed

2013-09-23 Thread Qiang Huang
ping. Hi Serge or Stéphane, What do you think about this patch? Spell error happens in our config file(many times for me :( ), and this error info will really save user's time to figure out the problem. On 2013/9/16 10:04, Qiang Huang wrote: > When callback of one config line fail, we'd better g

[lxc-devel] [PATCH] Parse: add error info when parse config failed

2013-09-15 Thread Qiang Huang
When callback of one config line fail, we'd better give the exactly info to help users locate the misconfig. Signed-off-by: Qiang Huang --- src/lxc/parse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lxc/parse.c b/src/lxc/parse.c index 26cbbdd..dca808d 100644 --- a