diff options
Diffstat (limited to 'include/tests_networking')
-rw-r--r-- | include/tests_networking | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tests_networking b/include/tests_networking index 6a33451c..c615e6d0 100644 --- a/include/tests_networking +++ b/include/tests_networking @@ -758,7 +758,8 @@ 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/*) + # 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 for F in ${DATA}; do |