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:
Diffstat (limited to 'include/tests_crypto')
-rw-r--r--include/tests_crypto2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_crypto b/include/tests_crypto
index 8560b05c..af73fd6c 100644
--- a/include/tests_crypto
+++ b/include/tests_crypto
@@ -34,7 +34,7 @@
if [ -d ${I} ]; then
logtext "Result: found directory ${I}"
# Search for CRT files
- sFINDCRTS=`find ${I} -name "*.crt" -type f -print`
+ sFINDCRTS=`find ${I} -name "*.crt" -type f -print 2> /dev/null`
for J in ${sFINDCRTS}; do
logtext "Test: checking certificate ${J}"
# Check certificate where 'end date' has been expired