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:
authormboelen <michael@cisofy.com>2014-09-09 01:51:27 +0400
committermboelen <michael@cisofy.com>2014-09-09 01:51:27 +0400
commit56cc2df2c22d017e4acc5c5fbd659f4e20d9c2fa (patch)
tree6ed86103d4aaf913b3caf4e3f4e9c0fd1773a909 /include/tests_crypto
parent691019f9ae13ea4fdcbf9891a7005ff3f976324d (diff)
Adjustments to allow non-privileged scan and reduce errors on screen
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