luci-app-ddns: fix syntax error

fix syntax error

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
This commit is contained in:
Andy Chiang
2026-05-28 22:03:16 +07:00
committed by Paul Donald
parent 3fe51f362d
commit 6f849a7ffa
@@ -228,7 +228,7 @@ const methods = {
const hasWget = () => {
return cache.has_wget ??= hasCommand('wget');
}
};
const hasWgetSsl = () => {
return cache.has_wgetssl ??= hasWget() && system(`wget 2>&1 | grep -iqF 'https'`) == 0 ? true : false;