Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Lee Andrews <zcrayfish@gmail.com>2021-07-24 05:44:36 +0300
committerGitHub <noreply@github.com>2021-07-24 05:44:36 +0300
commit55cc7215ea670b8275a1fbbaebca4f7c81c67646 (patch)
tree52aec02780f777d094996e31d99f9bba7b17a56c
parentc89fc248dc9f49d3931c4b05ac0cdf093d87ec40 (diff)
grep options change from gnu to posix
fix issue #1167
-rw-r--r--include/tests_networking2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_networking b/include/tests_networking
index 6a33451c..ffd9242b 100644
--- a/include/tests_networking
+++ b/include/tests_networking
@@ -758,7 +758,7 @@
fi
# Then additional modprobe configuration files
if [ -d ${ROOTDIR}etc/modprobe.d ]; then
- DATA=$(${GREPBINARY} --files-with-matches --no-messages "^install ${P} /bin/true" ${ROOTDIR}etc/modprobe.d/*)
+ DATA=$(${GREPBINARY} -l -s "^install ${P} /bin/true" ${ROOTDIR}etc/modprobe.d/*)
if [ -n "${DATA}" ]; then
UNCOMMON_PROTOCOL_DISABLED=1
for F in ${DATA}; do