diff --git a/install.sh b/install.sh index f120020..7065be4 100644 --- a/install.sh +++ b/install.sh @@ -43,7 +43,7 @@ TOOL_LINK=/usr/bin/nightscout-tool UPDATES_DIR=/srv/nightscout/updates UPDATE_CHANNEL=master SCRIPT_VERSION="1.8.1" #auto-update -SCRIPT_BUILD_TIME="2024.01.18" #auto-update +SCRIPT_BUILD_TIME="2024.01.20" #auto-update #======================================= # SETUP @@ -1600,7 +1600,7 @@ watchdog_check() { local domainLen=${#domain} if ((domainLen > 15)); then - local html=$(curl -Lksi "$domain") + local html=$(curl -iLsk "$domain") WATCHDOG_STATUS="detection_failed" diff --git a/src/lib.sh b/src/lib.sh index 1b8befd..df3bf21 100644 --- a/src/lib.sh +++ b/src/lib.sh @@ -1584,7 +1584,7 @@ watchdog_check() { local domainLen=${#domain} if ((domainLen > 15)); then - local html=$(curl -Lksi "$domain") + local html=$(curl -iLsk "$domain") WATCHDOG_STATUS="detection_failed" diff --git a/updated b/updated index 120c826..32fb888 100644 --- a/updated +++ b/updated @@ -1 +1 @@ -2024-01-18T16:53:04.730Z \ No newline at end of file +2024-01-20T18:24:52.704Z \ No newline at end of file