diff options
author | Johannes Heimansberg <git@jhe.dedyn.io> | 2021-05-21 20:41:07 +0300 |
---|---|---|
committer | Johannes Heimansberg <git@jhe.dedyn.io> | 2021-05-21 20:51:53 +0300 |
commit | 5666ed0a6db77a514eb6516ed1b1fca1b5697e3f (patch) | |
tree | 701da0f0f088d7270dd3c2ad0f591d58cb666360 /include/tests_hardening | |
parent | d23c722c04777e627b460d680c07eda482083e45 (diff) |
[HRDN-7231] When calling wc, use the short -l flag instead of --lines to make it work with busybox's wc implementation also
Diffstat (limited to 'include/tests_hardening')
-rw-r--r-- | include/tests_hardening | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_hardening b/include/tests_hardening index 130a4ddc..c414edb6 100644 --- a/include/tests_hardening +++ b/include/tests_hardening @@ -114,7 +114,7 @@ LogText "Test: Check for registered non-native binary formats" NFORMATS=0 if [ -d /proc/sys/fs/binfmt_misc ]; then - NFORMATS=$(${FINDBINARY} /proc/sys/fs/binfmt_misc -type f -not -name register -not -name status | ${WCBINARY} --lines) + NFORMATS=$(${FINDBINARY} /proc/sys/fs/binfmt_misc -type f -not -name register -not -name status | ${WCBINARY} -l) fi if [ ${NFORMATS} -eq 0 ]; then LogText "Result: no non-native binary formats found" |