mirror of
https://github.com/openwrt/luci.git
synced 2026-05-31 02:21:50 +08:00
luci-app-ddns: fix syntax error
fix syntax error Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user