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:
-rw-r--r--include/tests_hardening2
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"