Re: [PATCH] tools/bpftool: Fix error return code in do_batch()

From: Quentin Monnet
Date: Wed Jun 09 2021 - 09:34:38 EST


2021-06-09 19:59 UTC+0800 ~ Zhihao Cheng <chengzhihao1@xxxxxxxxxx>
> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
>
> Fixes: 668da745af3c2 ("tools: bpftool: add support for quotations ...")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Zhihao Cheng <chengzhihao1@xxxxxxxxxx>

Reviewed-by: Quentin Monnet <quentin@xxxxxxxxxxxxx>

Thank you for the fix.
Quentin