summaryrefslogtreecommitdiffstats
path: root/source/n/openssl/certwatch
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/openssl/certwatch')
-rw-r--r--source/n/openssl/certwatch2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/n/openssl/certwatch b/source/n/openssl/certwatch
index ac8d83403..8fef1509f 100644
--- a/source/n/openssl/certwatch
+++ b/source/n/openssl/certwatch
@@ -93,7 +93,7 @@ find $CERTDIR -type f -maxdepth 1 | while read certfile ; do
continue
fi
echo "$certfile" | grep -q -i '\.der$'
- if [ $? -eq 0 -o "$(file "$certfile" | grep ASCII)" == "" ]; then
+ if [ $? -eq 0 -o "$(file "$certfile" | egrep '(ASCII|PEM)')" == "" ]; then
inform=DER
fi
# We wont use '-checkend' since it is not properly documented (as of