On Fri, Jun 12, 2020 at 3:05 PM Tobias Klauser <tklauser@xxxxxxxxxx> wrote: > > On 2020-06-12 at 22:16:03 +0200, Andrii Nakryiko <andriin@xxxxxx> wrote: > > Remove unnecessary check at the end of codegen() routine which makes codegen() > > to always fail and exit bpftool with error code. Positive value of variable > > n is not an indicator of a failure. > > > > Cc: Tobias Klauser <tklauser@xxxxxxxxxx> > > Fixes: 2c4779eff837 ("tools, bpftool: Exit on error in function codegen") > > Signed-off-by: Andrii Nakryiko <andriin@xxxxxx> > > Reviewed-by: Tobias Klauser <tklauser@xxxxxxxxxx> > > Sorry about this, thanks for fixing it. Applied. Thanks