summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-10-23 18:28:36 +0200
committerlassulus <lassulus@lassul.us>2022-10-23 18:29:42 +0200
commit411ebc426cf98debcde3515491a2c0afdda51b48 (patch)
treef2630b495bb6b226a1ae2c90ac35239adbdae28c
parent83760c369206ae6dcb078b77f0e6e1cb0fdbea93 (diff)
doorstatus: ignore ssl errors
-rwxr-xr-xkrebs/2configs/shack/doorstatus.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/2configs/shack/doorstatus.sh b/krebs/2configs/shack/doorstatus.sh
index 11e710cfd..46314cb9c 100755
--- a/krebs/2configs/shack/doorstatus.sh
+++ b/krebs/2configs/shack/doorstatus.sh
@@ -54,7 +54,7 @@ Herr makefu an Kasse 3 bitte, Kasse 3 bitte Herr makefu. Der API Computer ist ma
EOF
)
-state=$(curl https://api.shackspace.de/v1/space | jq .doorState.open)
+state=$(curl -fSsk https://api.shackspace.de/v1/space | jq .doorState.open)
prevstate=$(cat state ||:)
if test "$state" == "$(cat state)";then