ddns-scripts: make WGET_SSL executable

Signed-off-by: Edi Turn <yyxstter@gmail.com>
This commit is contained in:
Edi Turn
2021-01-27 20:40:03 +08:00
parent c0135a326c
commit 0e4f2b1068
2 changed files with 2 additions and 3 deletions

View File

@@ -85,8 +85,7 @@ NSLOOKUP=$(command -v nslookup)
# Transfer Programs
WGET=$(command -v wget)
# SSL support is available if WGET_SSL is not empty
WGET_SSL=$("$WGET" -V 2>/dev/null | grep -F +https)
$WGET -V 2>/dev/null | grep -F -q +https && WGET_SSL=$WGET
CURL=$(command -v curl)
# CURL_SSL not empty then SSL support available