aboutsummaryrefslogtreecommitdiffstats
path: root/main/ca-certificates/update-ca-certificates
diff options
context:
space:
mode:
Diffstat (limited to 'main/ca-certificates/update-ca-certificates')
-rwxr-xr-xmain/ca-certificates/update-ca-certificates3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/ca-certificates/update-ca-certificates b/main/ca-certificates/update-ca-certificates
index 53f45dfe19..1780ce5d93 100755
--- a/main/ca-certificates/update-ca-certificates
+++ b/main/ca-certificates/update-ca-certificates
@@ -47,8 +47,7 @@ end
local certlist = posix.glob(LOCALCERTSDIR..'*.crt')
if certlist ~= nil then
table.sort(certlist)
- for f in pairs(certlist) do
- local fn = LOCALCERTSDIR..f
+ for _, fn in ipairs(certlist) do
if posix.stat(fn, 'type') == 'regular' then
add(fn, bundle, calinks)
end