summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/doorstatus.sh
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/2configs/shack/doorstatus.sh')
-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