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:
authorMichael Boelen <michael.boelen@cisofy.com>2021-07-29 15:52:29 +0300
committerGitHub <noreply@github.com>2021-07-29 15:52:29 +0300
commit9ba09ac4087f5a9500634bdf103fb950b99b7364 (patch)
treea1c4a388e87dfa6872660a8094d4ddef108fb75f /include
parent55cc7215ea670b8275a1fbbaebca4f7c81c67646 (diff)
Update tests_networking
Diffstat (limited to 'include')
-rw-r--r--include/tests_networking1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tests_networking b/include/tests_networking
index ffd9242b..c615e6d0 100644
--- a/include/tests_networking
+++ b/include/tests_networking
@@ -758,6 +758,7 @@
fi
# Then additional modprobe configuration files
if [ -d ${ROOTDIR}etc/modprobe.d ]; then
+ # Return file names (-l) and suppress errors (-s)
DATA=$(${GREPBINARY} -l -s "^install ${P} /bin/true" ${ROOTDIR}etc/modprobe.d/*)
if [ -n "${DATA}" ]; then
UNCOMMON_PROTOCOL_DISABLED=1