Merge pull request #3318 from Ansuel/rework-ddns
[project/luci.git] / applications / luci-app-ddns / root / usr / libexec / rpcd / luci.ddns
old mode 100644 (file)
new mode 100755 (executable)
index 01a9d4c..8ba4ad3
@@ -262,7 +262,7 @@ local methods = {
 
                        local function check_certs()
                                local _, v = fs.glob("/etc/ssl/certs/*.crt")
-                               if ( v == 0 ) then _, v = NXFS.glob("/etc/ssl/certs/*.pem") end
+                               if ( v == 0 ) then _, v = fs.glob("/etc/ssl/certs/*.pem") end
                                return (v > 0)
                        end