mirror of https://github.com/CISOfy/lynis.git
Disable testing for other tools, as xxd is not present on all systems by default
This commit is contained in:
parent
ba32b1a001
commit
96434508d4
|
@ -304,12 +304,11 @@
|
|||
[ "${WCBINARY:-}" ] || ExitFatal "wc binary not found"
|
||||
|
||||
# Test a few other tools that we did not specifically define (yet)
|
||||
TOOLS="xxd"
|
||||
for T in ${TOOLS}; do
|
||||
DATA=$(type ${T})
|
||||
if [ $? -gt 0 ]; then ExitFatal "${T} binary not found"; fi
|
||||
done
|
||||
|
||||
#TOOLS="xxd"
|
||||
#for T in ${TOOLS}; do
|
||||
# DATA=$(type ${T})
|
||||
# if [ $? -gt 0 ]; then ExitFatal "${T} binary not found"; fi
|
||||
#done
|
||||
|
||||
else
|
||||
LogText "Result: checking of binaries skipped in this mode"
|
||||
|
|
Loading…
Reference in New Issue