commit eee31f378a5ff8eb3055eb79b24d6c66b5f238bd
parent 0d310c629726d471434c124895139f85ddd6e9bf
Author: Cem Keylan <cem@ckyln.com>
Date: Thu, 5 Nov 2020 15:33:10 +0300
muw: check if ssl file is readable
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/muw b/bin/muw
@@ -198,7 +198,7 @@ get_information() {
for file in /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt \
/etc/certificates/cert.pem /etc/ssl/ca-bundle.pem /etc/ssl/cert.pem \
/etc/pki/tls/cacert.pem /usr/share/ca-certificates; do
- [ -e "$file" ] || continue
+ [ -r "$file" ] || continue
sslcert=$file; break
done