From aec1f594324d073cd0582c2da5f6ccbb160d1415 Mon Sep 17 00:00:00 2001 From: gonzalo Date: Sat, 4 May 2024 07:52:47 +0200 Subject: [PATCH] Update binaries Fix a showing error for grep --help on OpenBSD. Discovered by me, fixed by @mboelen --- include/binaries | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/binaries b/include/binaries index b495013c..a2b4895a 100644 --- a/include/binaries +++ b/include/binaries @@ -338,7 +338,7 @@ # If grep is capable of extended regexp, use that instead of egrep to avoid annoying warning if [ "${GREPBINARY:-}" ] ; then - ${GREPBINARY} --help | ${GREPBINARY} -e "extended-regexp" > /dev/null + ${GREPBINARY} --help 2> /dev/null | ${GREPBINARY} -e "extended-regexp" > /dev/null if [ $? -eq 0 ] ; then EGREPBINARY="${GREPBINARY} -E" fi