mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
Merge pull request #1492 from gonzalo-/gonzalo--patch-1
Update binaries
This commit is contained in:
commit
e11c8795aa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user