luci-app-ddns: fix typo err in luci.ddns 3314/head
authorChen Minqiang <ptpt52@gmail.com>
Sat, 16 Nov 2019 07:10:17 +0000 (15:10 +0800)
committerChen Minqiang <ptpt52@gmail.com>
Sat, 16 Nov 2019 07:16:32 +0000 (15:16 +0800)
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns

index 46209b9082d5662f4a5a4d18bff5ca0b2ee61907..0d4278e45dfbf972598a7eda021e46b2501383cb 100755 (executable)
@@ -246,7 +246,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