diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2021-07-29 15:52:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-29 15:52:56 +0300 |
commit | 32e2dc313d063b07419215dadcdab2542697f140 (patch) | |
tree | dc0dda97fef125ffc50b380c51f9ffb40b7ac2de | |
parent | fd3fa65cb38c2846fd1862b220b5edb83957976a (diff) | |
parent | 9ba09ac4087f5a9500634bdf103fb950b99b7364 (diff) |
Merge pull request #1194 from zcrayfish/patch-2
grep options change from gnu to posix
-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 |