Skip to content
Commit ca16b429 authored by Zhihao Cheng's avatar Zhihao Cheng Committed by Andrii Nakryiko
Browse files

tools/bpftool: Fix error return code in do_batch()



Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: 668da745 ("tools: bpftool: add support for quotations ...")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Reviewed-by: default avatarQuentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20210609115916.2186872-1-chengzhihao1@huawei.com
parent 3b3af91c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment