Re: [PATCH bpf-next] libbpf: fix Makefile exit code if libelf not found

2017-12-17 Thread Daniel Borkmann
On 12/16/2017 01:19 AM, Jakub Kicinski wrote: > /bin/sh's exit does not recognize -1 as a number, leading to > the following error message: > > /bin/sh: 1: exit: Illegal number: -1 > > Use 1 as the exit code. > > Signed-off-by: Jakub Kicinski > Reviewed-by: Quentin Monnet Applied to bpf-next,

[PATCH bpf-next] libbpf: fix Makefile exit code if libelf not found

2017-12-15 Thread Jakub Kicinski
/bin/sh's exit does not recognize -1 as a number, leading to the following error message: /bin/sh: 1: exit: Illegal number: -1 Use 1 as the exit code. Signed-off-by: Jakub Kicinski Reviewed-by: Quentin Monnet --- tools/lib/bpf/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)