[Misc] Fix wrong regexp when updating certificates

This commit is contained in:
Daniel - 2017-11-11 08:48:18 +01:00
parent 699ce82d11
commit e9e5e0455e
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 1 additions and 1 deletions

View File

@ -657,7 +657,7 @@ to a directory, add all certificate files in it to
Certificates are assumed to be of the form *.crt."
(set symbol new-value)
(when (file-directory-p new-value)
(dolist (cert-file (directory-files new-value t "*.crt$"))
(dolist (cert-file (directory-files new-value t ".crt$"))
(add-to-list 'gnutls-trustfiles cert-file))))
(defcustom db/cert-file-directory "~/.local/etc/certs/"