From 56cc2df2c22d017e4acc5c5fbd659f4e20d9c2fa Mon Sep 17 00:00:00 2001 From: mboelen Date: Mon, 8 Sep 2014 23:51:27 +0200 Subject: Adjustments to allow non-privileged scan and reduce errors on screen --- include/tests_crypto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tests_crypto') 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 -- cgit v1.2.3