Re: [PATCH] kbuild: pahole-version: avoid errors if executing fails

From: Miguel Ojeda
Date: Fri Aug 23 2024 - 14:48:22 EST


On Fri, Aug 23, 2024 at 4:00 PM Nicolas Schier <nicolas@xxxxxxxxx> wrote:
>
> Do we have to catch all possibilities? Then, what about this:

Something like that sounds good to me too -- we do something similar
in `rust_is_available.sh`. We also have a `1` in the beginning of
(most of) the `sed` commands there to check only the first line.

I guess it depends on whether Masahiro thinks the extra
checks/complexity is worth it. Here I was aiming to catch the case he
reported, i.e. non-successful programs.

Cheers,
Miguel