mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-26 23:34: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 grep is capable of extended regexp, use that instead of egrep to avoid annoying warning
|
||||||
if [ "${GREPBINARY:-}" ] ; then
|
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
|
if [ $? -eq 0 ] ; then
|
||||||
EGREPBINARY="${GREPBINARY} -E"
|
EGREPBINARY="${GREPBINARY} -E"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user