Fixed curl invocation

previous
Dominik Dzienia 1 year ago committed by dominik
parent 8ad97ebb61
commit 8ad805034d

@ -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"

@ -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"

@ -1 +1 @@
2024-01-18T16:53:04.730Z
2024-01-20T18:24:52.704Z
Loading…
Cancel
Save