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"